AnimationNodeAdd3.xml 1.3 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AnimationNodeAdd3" inherits="AnimationNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Blends two of three animations additively inside of an [AnimationNodeBlendTree].
  5. </brief_description>
  6. <description>
  7. A resource to add to an [AnimationNodeBlendTree]. Blends two animations together additively 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 to add to
  10. - A -add animation to blend with when the blend amount is in the [code][-1.0, 0.0][/code] range.
  11. - A +add animation to blend with when the blend amount is in the [code][0.0, 1.0][/code] range
  12. </description>
  13. <tutorials>
  14. <link title="AnimationTree">$DOCS_URL/tutorials/animation/animation_tree.html</link>
  15. <link title="Third Person Shooter Demo">https://godotengine.org/asset-library/asset/678</link>
  16. </tutorials>
  17. <methods>
  18. </methods>
  19. <members>
  20. <member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
  21. 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.
  22. </member>
  23. </members>
  24. <constants>
  25. </constants>
  26. </class>