Skip to content

@orillusion/core


Class: PropertyAnimationClipState ​

Defined in: src/components/anim/AnimatorComponent.ts:942

Per-clip playback state tracked by AnimatorComponent: holds the clip plus its current blend weight in the mix.

Constructors ​

Constructor ​

new PropertyAnimationClipState(clip): PropertyAnimationClipState

Defined in: src/components/anim/AnimatorComponent.ts:953

Parameters ​

clip ​

PropertyAnimationClip

Returns ​

PropertyAnimationClipState

Properties ​

clip ​

clip: PropertyAnimationClip

Defined in: src/components/anim/AnimatorComponent.ts:944

The animation clip this state wraps.


weight ​

weight: number = 0.0

Defined in: src/components/anim/AnimatorComponent.ts:946

Current blend weight of the clip in the mix.

Accessors ​

totalTime ​

Get Signature ​

get totalTime(): number

Defined in: src/components/anim/AnimatorComponent.ts:949

Total duration of the clip in seconds.

Returns ​

number

Released under the MIT License