Methods
move
- move(moveTo: Vector3 | number[], duration?: undefined | number): Animation
-
Parameters
-
moveTo: Vector3 | number[]
-
Optional duration: undefined | number
the animation
moveComponent
- moveComponent(component: Component, moveTo: Vector3 | number[], duration?: undefined | number): Animation
-
Parameters
-
-
moveTo: Vector3 | number[]
-
Optional duration: undefined | number
the animation
orient
- orient(orientTo: Matrix4 | number[], duration?: undefined | number): AnimationList
-
Parameters
-
orientTo: Matrix4 | number[]
-
Optional duration: undefined | number
the animations
rock
- rock(axis: Vector3 | number[], angle?: undefined | number, end?: undefined | number, duration?: undefined | number): Animation
-
Parameters
-
axis: Vector3 | number[]
-
Optional angle: undefined | number
-
Optional end: undefined | number
-
Optional duration: undefined | number
the animation
rockComponent
- rockComponent(component: Component, axis: Vector3 | number[], angle?: undefined | number, end?: undefined | number, duration?: undefined | number): Animation
-
Parameters
-
-
axis: Vector3 | number[]
-
Optional angle: undefined | number
-
Optional end: undefined | number
-
Optional duration: undefined | number
the animation
rotate
- rotate(rotateTo: Quaternion | number[], duration?: undefined | number): Animation
-
Parameters
-
rotateTo: Quaternion | number[]
-
Optional duration: undefined | number
the animation
spin
- spin(axis: Vector3 | number[], angle?: undefined | number, duration?: undefined | number): Animation
-
Parameters
-
axis: Vector3 | number[]
-
Optional angle: undefined | number
-
Optional duration: undefined | number
the animation
spinComponent
- spinComponent(component: Component, axis?: Vector3 | number[], angle?: undefined | number, duration?: undefined | number): Animation
-
Parameters
-
-
Optional axis: Vector3 | number[]
-
Optional angle: undefined | number
-
Optional duration: undefined | number
the animation
timeout
- timeout(callback: Function, duration?: undefined | number): Animation
-
Parameters
-
callback: Function
-
Optional duration: undefined | number
the animation
value
- value(valueFrom: number, valueTo: number, callback: Function, duration?: undefined | number): Animation
-
Parameters
-
valueFrom: number
-
valueTo: number
-
callback: Function
-
Optional duration: undefined | number
the animation
zoom
- zoom(zoomTo: number, duration?: undefined | number): Animation
-
Parameters
-
zoomTo: number
-
Optional duration: undefined | number
the animation
zoomMove
- zoomMove(moveTo: Vector3, zoomTo: number, duration?: undefined | number): AnimationList
-
Parameters
-
moveTo: Vector3
-
zoomTo: number
-
Optional duration: undefined | number
the animations
Animation controls