Unigine::AnimationObject 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 class is used to manage animation objects via code.
AnimationObject Class
Enums
TYPE#
Type of the animation object.Имя | Описание |
---|---|
ANIMATION_OBJECT = 0 | Generic animation object. |
ANIMATION_OBJECT_NODE = 1 | Animation object used to animate a node (see the AnimationObjectNode class). |
ANIMATION_OBJECT_MATERIAL = 2 | Animation object used to animate a material (see the AnimationObjectMaterial class). |
ANIMATION_OBJECT_PROPERTY_PARAMETER = 3 | Animation object used to animate a parameter of a property (see the AnimationObjectPropertyParameter class). |
ANIMATION_OBJECT_RUNTIME = 4 | Animation object used to animate a runtime object (see the AnimationObjectRuntime class). |
ANIMATION_OBJECT_TRACK = 5 | Animation object used to animate an animation track (see the AnimationObjectTrack class). |
Members
AnimationObject::TYPE getType() const#
Returns the current type of the animation object.
Return value
Current animation object type.const char * getTypeName() const#
Returns the current name of the animation object's type.
Return value
Current animation object type name.getID() const#
Returns the current identifier of the animation object.
Return value
Current animation object identifier.void setName ( const char * name ) #
Sets a new name of the animation object.
Arguments
- const char * name - The animation object name.
const char * getName() const#
Returns the current name of the animation object.
Return value
Current animation object name.Last update:
19.12.2023
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter