Polarith AI
1.8

◆ NonInverseMappingType

enum NonInverseMappingType
strong

Used as constraint version of MappingType to avoid inverse mapping.

Cast this type to MappingType to use within the MoveBehaviour.MapSpecialSqr(MappingType, float, float, float) and MoveBehaviour.MapSpecial(MappingType, float, float, float) methods in order to specify the desired type of the applied mapping function.

Enumerator
Constant 

Results in 1 constantly.

Linear 

Maps linearly from the min/max interval to 0 and 1.

Quadratic 

Applies a quadratic mapping from the min/max interval to 0 and 1.

SquareRoot 

Applies a square root mapping from the min/max interval to 0 and 1.

Imprint