W3cubDocs

/Godot 4.2

SkeletonModification2DStackHolder

Inherits: SkeletonModification2D < Resource < RefCounted < Object

A modification that holds and executes a SkeletonModificationStack2D.

Description

This SkeletonModification2D holds a reference to a SkeletonModificationStack2D, allowing you to use multiple modification stacks on a single Skeleton2D.

Note: The modifications in the held SkeletonModificationStack2D will only be executed if their execution mode matches the execution mode of the SkeletonModification2DStackHolder.

Methods

SkeletonModificationStack2D

get_held_modification_stack ( ) const

void

set_held_modification_stack ( SkeletonModificationStack2D held_modification_stack )

Method Descriptions

SkeletonModificationStack2D get_held_modification_stack ( ) const

Returns the SkeletonModificationStack2D that this modification is holding.

void set_held_modification_stack ( SkeletonModificationStack2D held_modification_stack )

Sets the SkeletonModificationStack2D that this modification is holding. This modification stack will then be executed when this modification is executed.

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_skeletonmodification2dstackholder.html