Function createPropertyAnimationClip
-
createPropertyAnimationClip(
name: string,
tracks: readonly PropertyAnimationTrackOptions[],
options?: PropertyAnimationClipOptions,
): PropertyAnimationClipParameters
- name: string
Clip name.
- tracks: readonly PropertyAnimationTrackOptions[]
One or more track definitions; their keyframes are sorted and baked into samplers.
Optionaloptions: PropertyAnimationClipOptionsOptional default frame rate.
Returns PropertyAnimationClip
The compiled clip, with its duration set to the longest track.
- name: string
Compiles a set of track definitions into a reusable PropertyAnimationClip.