Polarith AI
1.8

◆ MappingType

enum MappingType
strong

Used 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.

InverseLinear 

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

Quadratic 

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

InverseQuadratic 

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

SquareRoot 

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

InverseSquareRoot 

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

Imprint