From 47b8615a2efa1c9a686a7821158c9bdd1cf7a38a Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Mon, 20 May 2019 19:45:23 -0700 Subject: [DOCS] Add descriptions to AnimationNodeStateMachine[Playback] --- doc/classes/AnimationNodeStateMachinePlayback.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/classes/AnimationNodeStateMachinePlayback.xml') diff --git a/doc/classes/AnimationNodeStateMachinePlayback.xml b/doc/classes/AnimationNodeStateMachinePlayback.xml index fd38c28b16..796d92d7d6 100644 --- a/doc/classes/AnimationNodeStateMachinePlayback.xml +++ b/doc/classes/AnimationNodeStateMachinePlayback.xml @@ -1,8 +1,14 @@ + Playback control for AnimationNodeStateMachine. + Allows control of [AnimationTree] state machines created with [AnimationNodeStateMachine]. Retrieve with [code]$AnimationTree.get("parameters/playback")[/code]. Example: + [codeblock] + var state_machine = $AnimationTree.get("parameters/playback") + state_machine.travel("some_state") + [/codeblock] @@ -11,6 +17,7 @@ + Returns the currently playing animation state. @@ -23,6 +30,7 @@ + Returns [code]true[/code] if an animation is playing. @@ -31,12 +39,14 @@ + Starts playing the given animation. + Stops the currently playing animation. @@ -45,7 +55,7 @@ - Transition from the current state to another one, while visiting all the intermediate ones. This is done via the A* algorithm. + Transitions from the current state to another one, following the shortest path. -- cgit v1.2.3