AnimationPlayData¶
Summary¶
AnimationPlayData: {
alpha: number,
start_fade_time: number,
stop_fade_time: number,
weight: number,
priority: number,
speed: number?,
looped: boolean
}
Fields¶
alpha [number]¶
The percentage (0 - 1) of the animation progress.
speed [number?]¶
The animation play speed. If not supplied, the player will behave as if it was set to 1 (normal speed).
If set to 2, the animation will play twice as fast, and if set to 0.5, it will be half as fast, and so on.
start_fade_time [number]¶
⠀
stop_fade_time [number]¶
⠀
weight [number]¶
Higher value = higher animation weight, which basically means the animation has more influence over other playing animations.
priority [number]¶
If there are multiple animations that influence the same limb, the animations with the lowest priority values will be played, and other animations will be ignored.
looped [boolean?]¶
Animations with looped set to false or nil will be immediately stopped when their alpha reaches 1 when using AnimPlayer:StepForward().
```