Unigine::AnimationCurve Class
The functionality described here is EXPERIMENTAL and is not recommended for production use. Future releases may bring significant changes to API and features. Backward compatibility of the final production-ready version is not guaranteed.
Header: | #include <UnigineAnimation.h> |
This is a base class for all animation curves. Animation curves define changes of values of certain types (bool, float, integer, quat, etc.) over time.
AnimationCurve Class
Enums
TYPE#
Animation curve type.Name | Description |
---|---|
ANIMATION_CURVE = 0 | The animation curve storing values. |
ANIMATION_CURVE_INT = 1 | The animation curve storing integer values (see the AnimationCurveInt class). |
ANIMATION_CURVE_FLOAT = 2 | The animation curve storing float values (see the AnimationCurveIntFloat class). |
ANIMATION_CURVE_DOUBLE = 3 | The animation curve storing double values (see the AnimationCurveDouble class). |
ANIMATION_CURVE_BOOL = 4 | The animation curve storing boolean values (see the AnimationCurveBool class). |
ANIMATION_CURVE_SCALAR = 5 | The animation curve storing scalar values (see the AnimationCurveScalar class). |
ANIMATION_CURVE_QUAT = 6 | The animation curve storing quaternion values (see the AnimationCurveQuat class). |
ANIMATION_CURVE_STRING = 7 | The animation curve storing string values (see the AnimationCurveString class). |
ANIMATION_CURVE_UGUID = 8 | The animation curve storing UGUID values (see the AnimationCurveUGUID class). |
KEY_TYPE#
Type of interpolation between the neighboring keys.Members
AnimationCurve::TYPE getType() const#
Returns the current type of the animation curve.
Return value
Current type of the animation curve.const char * getTypeName() const#
Returns the current name of the animation curve type.
Return value
Current name of the animation curve type.Last update:
2023-12-19
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)