Class AnimationPlayableAsset
A Playable Asset that represents a single AnimationClip clip.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
[Serializable]
public class AnimationPlayableAsset : PlayableAsset, IPlayableAsset, ITimelineClipAsset, IPropertyPreview, ISerializationCallbackReceiver
Properties
Name | Description |
---|---|
applyFootIK | Enable to apply foot IK to the AnimationClip when the target is humanoid. |
clip | The source animation clip |
clipCaps | Returns the capabilities of TimelineClips that contain a AnimationPlayableAsset |
duration | Returns the duration required to play the animation clip exactly once |
eulerAngles | The rotational offset of the clip, expressed in Euler angles |
loop | Whether the source AnimationClip loops during playback |
matchTargetFields | Specifies which fields should be matched when aligning offsets. |
outputs | Returns a description of the PlayableOutputs that may be created for this asset. |
position | The translational offset of the clip |
removeStartOffset | Whether to make the animation clip play relative to its first keyframe. |
rotation | The rotational offset of the clip, expressed as a Quaternion |
useTrackMatchFields | Specifies whether to use offset matching options as defined by the track. |
Methods
Name | Description |
---|---|
CreatePlayable(PlayableGraph, GameObject) | Creates the root of a Playable subgraph to play the animation clip. |
GatherProperties(PlayableDirector, IPropertyCollector) | Called by the Timeline Editor to gather properties requiring preview. |
ResetOffsets() | Resets the offsets to default values |