AnimationSystem
Classes
Constants
- v4boundingSphere :
Vector4
Functions
- constructActionClips(mixer, mesh, actions)
- startClip(component, clip)
- registerAnimation(component, model3d)
- advanceAnimation(mixer, timeDelta)
AnimationSystem
Kind: global class
new AnimationSystem(viewportSize)
| Param | Type |
|---|---|
| viewportSize | Vector2 |
animationSystem.link(component, mesh, entity)
Kind: instance method of AnimationSystem
| Param | Type |
|---|---|
| component | Animation |
| mesh | |
| entity | int |
animationSystem.unlink(component, mesh, entity)
Kind: instance method of AnimationSystem
| Param | Type |
|---|---|
| component | Animation |
| mesh | |
| entity | int |
animationSystem.update(timeDelta)
Kind: instance method of AnimationSystem
| Param | Type |
|---|---|
| timeDelta | number |
v4boundingSphere : Vector4
Kind: global constant
constructActionClips(mixer, mesh, actions)
Kind: global function
| Param | Type |
|---|---|
| mixer | AnimationMixer |
| mesh | |
| actions | object.<string, Future.<AnimationAction>> |
startClip(component, clip)
Kind: global function
| Param | Type |
|---|---|
| component | |
| clip | AnimationClip |
startClip~visitClipAction(clipAction)
Kind: inner method of startClip
| Param | Type |
|---|---|
| clipAction | AnimationAction |
registerAnimation(component, model3d)
Kind: global function
| Param | Type |
|---|---|
| component | Animation |
| model3d | Mesh |
advanceAnimation(mixer, timeDelta)
Kind: global function
| Param | Type |
|---|---|
| mixer | ThreeAnimationMixer |
| timeDelta | number |
advanceAnimation~root : Object3D
get root
Kind: inner constant of advanceAnimation