Home > decentraland-ecs > AnimationClip
Property | Access Modifier | Type | Description |
---|---|---|---|
clip |
string |
Name of the animation in the model | |
loop |
boolean |
Does the animation loop?, default: true | |
playing |
boolean |
Is the animation playing? default: true | |
speed |
number |
The animation speed | |
weight |
number |
Weight of the animation, values from 0 to 1, used to blend several animations. default: 1 |
Method | Access Modifier | Returns | Description |
---|---|---|---|
constructor(clip, params) |
Constructs a new instance of the AnimationClip class | ||
pause() |
void |
Pauses the animation | |
play() |
void |
Starts the animation | |
setParams(params) |
void |
Sets the clip parameters |