Class THREE.Animation
Defined in: Animation.js.
Constructor Attributes | Constructor Name and Description |
---|---|
THREE.Animation(root, name, interpolationType)
|
Method Attributes | Method Name and Description |
---|---|
getNextKeyWith(type, h, key)
|
|
getPrevKeyWith(type, h, key)
|
|
interpolate(p0, p1, p2, p3, t, t2, t3)
|
|
interpolateCatmullRom(points, scale)
|
|
pause()
|
|
play(loop, startTimeMS)
|
|
stop()
|
|
update(deltaTimeMS)
|
Method Detail
getNextKeyWith(type, h, key)
- Parameters:
- type
- h
- key
getPrevKeyWith(type, h, key)
- Parameters:
- type
- h
- key
interpolate(p0, p1, p2, p3, t, t2, t3)
- Parameters:
- p0
- p1
- p2
- p3
- t
- t2
- t3
interpolateCatmullRom(points, scale)
- Parameters:
- points
- scale
pause()
play(loop, startTimeMS)
- Parameters:
- loop
- startTimeMS
stop()
update(deltaTimeMS)
- Parameters:
- deltaTimeMS