Class: AnimationUtils
Constructors
constructor
• new AnimationUtils(): AnimationUtils
Returns
Methods
generateClip
▸ generateClip(name
, times
, initialPosition
, initialQuaternion
, midPositions
, midQuaternions
): AnimationClip
Generates an animation clip.
Parameters
Name | Type | Description |
---|---|---|
name | string | Name of the clip |
times | number [] | Times of the clip |
initialPosition | Vector3 | Initial position |
initialQuaternion | Quaternion | Initial quaternion |
midPositions | Vector3 [] | Middle positions |
midQuaternions | Quaternion [] | Middle quaternions |
Returns
AnimationClip
Animation clip