Unigine::AnimationModifier 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> |
Animation modifiers store the description of the parameter to be animated and a set of curves to change the values.
AnimationModifier Class
枚举
TYPE#
Members
Ptr<AnimationModifierInfo> getInfo() const#
Returns the current information on the animation modifier.
Return value
Current information on the animation modifier.AnimationModifier::TYPE getType() const#
Returns the current type of the animation modifier.
Return value
Current type of the animation modifier.const char * getTypeName() const#
Returns the current name of the animation modifier type.
Return value
Current name of the animation modifier type.AnimParams::PARAM getParam() const#
Returns the current parameter animated by the modifier.
Return value
Current parameter animated by the modifier.getParamIndex() const#
Returns the current index of the parameter animated by the modifier.
Return value
Current index of the parameter animated by the modifier.const char * getParamName() const#
Returns the current name of the parameter animated by the modifier.
Return value
Current name of the parameter animated by the modifier.void setObjID ( ) #
Sets a new ID of the animation object to which the modifier is applied.
Arguments
- id - The ID of the animation object to which the modifier is applied.
getObjID() const#
Returns the current ID of the animation object to which the modifier is applied.
Return value
Current ID of the animation object to which the modifier is applied.getMinTime() const#
Returns the current point of the whole animation timeline where this modifier starts being applied, in units.
Return value
Current point of the whole animation timeline where this modifier starts being applied, in units.getMaxTime() const#
Returns the current point of the whole animation timeline up to which this modifier is applied, in units.
Return value
Current point of the whole animation timeline up to which this modifier is applied, in units.getDuration() const#
Returns the current duration of the period when the modifier affects the animation, in units.
Return value
Current duration of the period when the modifier affects the animation, in units.void save ( const Ptr<Blob> & blob ) const#
Saves the animation modifier data to a blob.Arguments
void load ( const Ptr<Blob> & blob ) #
Loads the animation modifier data from the blob.Arguments
Last update:
2024-08-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)