Expand description
A module that contains everything related to numeric values of animation tracks. See TrackValue
docs
for more info.
Structs§
- Bound
Value - A value that is bound to a property.
- Bound
Value Collection - A collection of values that are bounds to some properties.
Enums§
- Track
Value - 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 (includingbool
). This is needed to be able to blend values; final blending result is then converted to an actual machine type of a target property. - Value
Binding - 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.
- Value
Type - 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
tob
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.