Class AnimationPlayableAsset
A Playable Asset that represents a single AnimationClip clip.
상속된 멤버
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
[Serializable]
public class AnimationPlayableAsset : PlayableAsset, IPlayableAsset, ITimelineClipAsset, IPropertyPreview, ISerializationCallbackReceiver
프로퍼티
| 이름 | 설명 |
|---|---|
| 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. |
메서드
| 이름 | 설명 |
|---|---|
| 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 |