AnimationNodeStateMachinePlayback
Playback control for AnimationNodeStateMachine.
Allows control of AnimationTree state machines created with . Retrieve with .
Example:
( ) const | |
get_current_play_position ( ) const | |
get_travel_path ( ) const | |
is_playing ( ) const | |
void | ( String node ) |
void | |
void | ( String to_node ) |
- float get_current_length ( ) const
- get_current_node ( ) const
Returns the currently playing animation state.
- float get_current_play_position ( ) const
Returns the playback position within the current animation state.
Returns the current travel path as computed internally by the A* algorithm.
- is_playing ( ) const
Returns if an animation is playing.
- void start ( String node )
Starts playing the given animation.
- void stop ( )
Stops the currently playing animation.
- void travel ( to_node )
Transitions from the current state to another one, following the shortest path.