Unigine.AnimationMask 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.
This class enables you to manage animation masks. A mask is a set of objects and modifiers operated by a track.
AnimationMask Class
Properties
bool IsEmpty#
The value indicating if the mask is empty.
int NumModifiers#
The number of modifiers that belong to the mask.
Members
AnimationMask ( ) #
Constructor. Creates an empty AnimationMask with default parameters.void AddInfo ( AnimationModifierInfo info ) #
Adds a new animation modifier description to the mask.Arguments
- AnimationModifierInfo info - Description of an animation modifier.
void RemoveInfo ( AnimationModifierInfo info ) #
Removes the specified animation modifier description from the mask.Arguments
- AnimationModifierInfo info - Description of an animation modifier to be removed.
bool ContainsInfo ( AnimationModifierInfo info ) #
Returns a value indicating if the mask contains the specified animation modifier description.Arguments
- AnimationModifierInfo info - Description of an animation modifier to be checked.
Return value
true if the mask contains the specified animation modifier description; otherwise, false.AnimationModifierInfo GetInfoByIndex ( int index ) #
Returns a description of the animation modifier with the specified index.Arguments
- int index - Animation modifier description index.
Return value
Description of an animation modifier with the specified index.Last update:
2023-11-29
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)