Skip to content

@orillusion/core


Class: PropertyAnimationClipState

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

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:946

Parameters

clip

PropertyAnimationClip

Returns

PropertyAnimationClipState

Properties

clip

clip: PropertyAnimationClip

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

The animation clip this state wraps.


weight

weight: number = 0.0

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

Current blend weight of the clip in the mix.

Accessors

totalTime

Get Signature

get totalTime(): number

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

Total duration of the clip in seconds.

Returns

number

Released under the MIT License