Model loading · class
Animation
Everything that animates a datablock: its active action, then its NLA tracks bottom to top.
Explained in Importing models.
class Animationimport { Animation } from '@driftengine/assets';Constructor
new
constructor(id: BlendStruct)| Parameter | Type | Description |
|---|---|---|
id | BlendStruct |
Properties
| Name | Type | Description |
|---|---|---|
unreadreadonly | Set<string> |
Accessors
| Name | Type | Description |
|---|---|---|
animatedget | boolean | |
rangeget | [number, number] | The scene frames anything here animates over. |
Methods
values
values(frame: number, out: Map<string, number>): Map<string, number>Every animated value at frame, by path[index]; the last source to speak wins.
| Parameter | Type | Description |
|---|---|---|
frame | number | |
out | Map<string, number> |