Class AnimationTrack
A Timeline track used for playing back animations on an Animator.
Inherited Members
Namespace: UnityEngine .Timeline
Assembly: solution.dll
Syntax
[Serializable]
[TrackClipType(typeof(AnimationPlayableAsset), false)]
[TrackBindingType(typeof(Animator))]
[ExcludeFromPreset]
public class AnimationTrack : TrackAsset, IPlayableAsset, IPropertyPreview, ISerializationCallbackReceiver, ILayerable
Properties
Name | Description |
---|---|
apply |
Specifies whether to apply the AvatarMask to the track. |
apply |
Specifies whether to apply track offsets to all clips on the track. |
avatar |
Specifies the AvatarMask to be applied to all clips on the track. |
euler |
The euler angle representation of the rotation offset of the entire track. |
in |
Specifies whether the Animation Track has clips, or is in infinite mode. |
infinite |
An AnimationClip storing the data for an infinite track. |
infinite |
The euler angle representation of the rotation offset of the track when in infinite mode. |
infinite |
The translation offset of a track in infinite mode. |
infinite |
The rotation offset of a track in infinite mode. |
infinite |
The saved state of post-extrapolation for clips when converted to infinite mode. |
infinite |
The saved state of pre-extrapolation for clips converted to infinite mode. |
match |
Specifies which fields to match when aligning offsets of clips. |
outputs | Returns a description of the PlayableOutputs that will be created by this track. |
position | The translation offset of the entire track. |
rotation | The rotation offset of the entire track, expressed as a quaternion. |
track |
Specifies what is used to set the starting position and orientation of an Animation Track. |
Methods
Name | Description |
---|---|
Calculate |
|
Create |
Creates a TimelineClip on this track that uses an AnimationClip. |
Create |
Creates an AnimationClip that stores the data for an infinite track. |
Create |
Creates a TimelineClip, AnimationPlayableAsset and an AnimationClip. Use this clip to record in a timeline. |
Gather |
Called by the Timeline Editor to gather properties requiring preview. |
On |
Used to initialize default values on a newly created clip |