Skip to main content

Editor.AnimationLayerScaleMode

Enum

Defines how animation layer scaling is applied to the base animation.

Index

Enumeration Members

Example

// AnimationLayerScaleMode controls how layer scaling is applied to animations.
// Multiply = multiplies layer scale with base; Additive = adds layer scale to base
const mode: Editor.AnimationLayerScaleMode = Editor.AnimationLayerScaleMode.Multiply;
const label = mode === Editor.AnimationLayerScaleMode.Multiply ? 'Multiply'
: mode === Editor.AnimationLayerScaleMode.Additive ? 'Additive'
: 'Unknown';

console.log(`AnimationLayerScaleMode: ${label} (${mode})`);

Enumeration Members

Additive

Additive: number

Adds the layer scale to the base animation scale.


Multiply

Multiply: number

Multiplies the layer scale with the base animation scale.