Creates an animation clip with no curves. After creation make sure to register some animation curves before using it.
Optionaloptions: { Options object for the function call.
OptionalisInternalConstructor: booleanA set of all curves stored in the animation. Returned value will not be updated if the animation clip curves are added or removed, as it is a copy of clip's internal values.
A set of all events to be triggered as the animation is playing.
Returns a reference handle for this resource.
Checks if animation clip has root motion curves separate from the normal animation curves.
Checks are the curves contained within the clip additive. Additive clips are intended to be added on top of other clips.
Determines if the resource is destroyed.
Returns the length of the animation clip, in seconds.
Returns the meta data of this resource.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
Returns a set of curves containing motion of the root bone. This allows the user to evaluate the root bone animation curves manually, instead of through the normal animation process. This property is only available if animation clip was imported with root motion import enabled.
Number of samples per second the animation clip curves were sampled at. This value is not used by the animation clip or curves directly since unevenly spaced keyframes are supported. But it can be of value when determining the original sample rate of an imported animation or similar.
Converts the animation clip to an additive animation.
true upon success.
Contains animation curves for translation/rotation/scale of scene objects/skeleton bones, as well as curves for generic property animation.