SkeletonModification2DStackHolder.xml 1.3 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SkeletonModification2DStackHolder" inherits="SkeletonModification2D" version="4.0">
  3. <brief_description>
  4. A modification that holds and executes a [SkeletonModificationStack2D].
  5. </brief_description>
  6. <description>
  7. This [SkeletonModification2D] holds a reference to a [SkeletonModificationStack2D], allowing you to use multiple modification stacks on a single [Skeleton2D].
  8. [b]Note:[/b] The modifications in the held [SkeletonModificationStack2D] will only be executed if their execution mode matches the execution mode of the SkeletonModification2DStackHolder.
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <methods>
  13. <method name="get_held_modification_stack" qualifiers="const">
  14. <return type="SkeletonModificationStack2D" />
  15. <description>
  16. Returns the [SkeletonModificationStack2D] that this modification is holding.
  17. </description>
  18. </method>
  19. <method name="set_held_modification_stack">
  20. <return type="void" />
  21. <argument index="0" name="held_modification_stack" type="SkeletonModificationStack2D" />
  22. <description>
  23. Sets the [SkeletonModificationStack2D] that this modification is holding. This modification stack will then be executed when this modification is executed.
  24. </description>
  25. </method>
  26. </methods>
  27. </class>