AnimationNodeBlend3.xml 1.2 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AnimationNodeBlend3" inherits="AnimationNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Blends two of three animations linearly inside of an [AnimationNodeBlendTree].
  5. </brief_description>
  6. <description>
  7. A resource to add to an [AnimationNodeBlendTree]. Blends two animations together linearly out of three based on a value in the [code][-1.0, 1.0][/code] range.
  8. This node has three inputs:
  9. - The base animation
  10. - A -blend animation to blend with when the blend amount is in the [code][-1.0, 0.0][/code] range.
  11. - A +blend animation to blend with when the blend amount is in the [code][0.0, 1.0][/code] range
  12. </description>
  13. <tutorials>
  14. <link>$DOCS_URL/tutorials/animation/animation_tree.html</link>
  15. </tutorials>
  16. <methods>
  17. </methods>
  18. <members>
  19. <member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
  20. If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
  21. </member>
  22. </members>
  23. <constants>
  24. </constants>
  25. </class>