Class CarbonAnimationLayerData

The CarbonAnimationLayerData class holds layer specific data for the current execution.

Constructors

Properties

currentAnimationLayer: AnimationLayer

The current animation layer of this graph layer. The animation is playing on this layer.

currentBlendPosition: number | Vector2

The current position in the actively playing blendtree.

currentState: CarbonAnimationStateNodeBase

The current state of the layer.

firstAnimationLayer: AnimationLayer

The first animation layer of this graph layer. Preceding layers must be ordered below this.

morphShapeData: CarbonAnimationMorphShapeData

The morph shape data of the state. If set, will update morph shape data each frame.

opacity: number

The opacity of the layer.

openGateLastPlaybackTime: number

The playback time of the clip while a gate is open.

skeletonMask: SkeletonMask

The skeleton mask for the layer.