Module value

Module value 

Source
Expand description

A module that contains everything related to numeric values of animation tracks. See TrackValue docs for more info.

Structs§

BoundValue
A value that is bound to a property.
BoundValueCollection
A collection of values that are bounds to some properties.

Enums§

TrackValue
A real value that can be produced by an animation track. Animations always operate on real numbers (f32) for any kind of machine numeric types (including bool). This is needed to be able to blend values; final blending result is then converted to an actual machine type of a target property.
ValueBinding
Value binding tells the animation system to which of the many properties to set track’s value. It has special cases for the most used properties and a generic one for arbitrary properties. Arbitrary properties are set using reflection system, while the special cases handles bindings to standard properties (such as position, scaling, or rotation) for optimization. Reflection is quite slow to be used as the universal property setting mechanism.
ValueType
An actual type of a property value.

Functions§

negate_unit_quaternion
Negate the given quaternion by negating each of its components.
nlerp
Interpolates from a to b using nlerp, including an additional check to ensure that the a.dot(b) is positive to prevent the interpolation from going around the long way.