Controls how timeline values are mixed with setup pose values or current pose values when a timeline is applied with alpha < 1.

See Timeline {@link Timeline#apply(Skeleton, float, float, Array, float, MixBlend, MixDirection)}.

Variables

@:value(cast 0)@:impl@:enuminlineread onlysetup:MixBlend = 0

Transitions from the setup value to the timeline value (the current value is not used). Before the first frame, the setup value is set.

@:value(cast 1)@:impl@:enuminlineread onlyfirst:MixBlend = 1

Transitions from the current value to the timeline value. Before the first frame, transitions from the current value to the setup value. Timelines which perform instant transitions, such as {@link DrawOrderTimeline} or {@link AttachmentTimeline}, use the setup value before the first frame.

first is intended for the first animations applied, not for animations layered on top of those.

@:value(cast 2)@:impl@:enuminlineread onlyreplace:MixBlend = 2

Transitions from the current value to the timeline value. No change is made before the first frame (the current value is kept until the first frame).

replace is intended for animations layered on top of others, not for the first animations applied.

@:value(cast 3)@:impl@:enuminlineread onlyadd:MixBlend = 3

Transitions from the current value to the current value plus the timeline value. No change is made before the first frame (the current value is kept until the first frame).

add is intended for animations layered on top of others, not for the first animations applied. Properties set by additive animations must be set manually or by another animation before applying the additive animations, else the property values will increase each time the additive animations are applied.