Unigine::AnimationModifierTrack 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> |
Inherits from: | AnimationModifier |
AnimationModifierTrack Class
AnimationModifierTrack ( ) #
Constructor. Creates a new modifier to animate objects using tracks.void addTrack ( const char * path, float begin_time ) #
Adds a track at the specified point of the timeline.Arguments
- const char * path - Path to the track.
- float begin_time - Time on the timeline, in seconds, for this track to start.
void setTrackTimeCurve ( const Ptr<AnimationCurveFloat> & curve ) #
Sets the time curve to be used by the track.Arguments
- const Ptr<AnimationCurveFloat> & curve - Time curve for the track.
Last update:
19.12.2023
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter