Allow AnimationNodes to restart when transitioning to the same state
This commit is contained in:
@@ -49,6 +49,13 @@
|
||||
When inheriting from [AnimationRootNode], implement this virtual method to return whether the blend tree editor should display filter editing on this node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_is_parameter_read_only" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="parameter" type="StringName" />
|
||||
<description>
|
||||
When inheriting from [AnimationRootNode], implement this virtual method to return whether the [param parameter] is read-only. Parameters are custom local memory used for your nodes, given a resource can be reused in multiple trees.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_process" qualifiers="virtual const">
|
||||
<return type="float" />
|
||||
<param index="0" name="time" type="float" />
|
||||
|
||||
@@ -28,6 +28,12 @@
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="ONE_SHOT_REQUEST_NONE" value="0" enum="OneShotRequest">
|
||||
</constant>
|
||||
<constant name="ONE_SHOT_REQUEST_FIRE" value="1" enum="OneShotRequest">
|
||||
</constant>
|
||||
<constant name="ONE_SHOT_REQUEST_ABORT" value="2" enum="OneShotRequest">
|
||||
</constant>
|
||||
<constant name="MIX_MODE_BLEND" value="0" enum="MixMode">
|
||||
</constant>
|
||||
<constant name="MIX_MODE_ADD" value="1" enum="MixMode">
|
||||
|
||||
@@ -12,6 +12,12 @@
|
||||
<link title="Third Person Shooter Demo">https://godotengine.org/asset-library/asset/678</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="find_input_caption" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="caption" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_input_caption" qualifiers="const">
|
||||
<return type="String" />
|
||||
<param index="0" name="input" type="int" />
|
||||
|
||||
Reference in New Issue
Block a user