diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2019-04-07 07:21:31 -0400 |
---|---|---|
committer | Ryan Roden-Corrent <ryan@rcorre.net> | 2019-04-09 10:49:21 -0400 |
commit | 584288a32c49afa02e69178381ef1e2abfb5371b (patch) | |
tree | 793f386f5846c14e4fcda58b0e13152c2bb28bfe /doc/classes/AnimationNodeBlendSpace2D.xml | |
parent | e40aea7fecd86240502d8e2e8f8492428f8df307 (diff) |
Fill out some of the AnimationNode docs.
The API docs for various animation nodes are pretty empty, yet the
tutorial at
https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html
contains some details.
These details should be included in the API docs so looking up a
particular class actually provides some information rather than
requiring the user to hunt for a different tutorial.
This also links the AnimationTree tutorial and demo in the docs.
I've found the TPS demo to be the best resource so far for learning
how to use the AnimationTree. This should be easy to find if someone
looks up the AnimationTree API docs.
Finally, this fixes a param typo in AnimationNodeStateMachine.
Diffstat (limited to 'doc/classes/AnimationNodeBlendSpace2D.xml')
-rw-r--r-- | doc/classes/AnimationNodeBlendSpace2D.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/AnimationNodeBlendSpace2D.xml b/doc/classes/AnimationNodeBlendSpace2D.xml index ad7d9dd380..449c177924 100644 --- a/doc/classes/AnimationNodeBlendSpace2D.xml +++ b/doc/classes/AnimationNodeBlendSpace2D.xml @@ -136,8 +136,10 @@ <constant name="BLEND_MODE_INTERPOLATED" value="0" enum="BlendMode"> </constant> <constant name="BLEND_MODE_DISCRETE" value="1" enum="BlendMode"> + Useful for frame-by-frame 2D animations. </constant> <constant name="BLEND_MODE_DISCRETE_CARRY" value="2" enum="BlendMode"> + Keep the current play position when switching between discrete animations. </constant> </constants> </class> |