Class TimelineClip
Represents a clip on the timeline.
Implements
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
[Serializable]
public class TimelineClip : ISerializationCallbackReceiver
Fields
Name | Description |
---|---|
kDefaultClipCaps | The default capabilities for a clip |
kDefaultClipDurationInSeconds | The default length of a clip in seconds. |
kTimeScaleMax | The maximum timescale allowed on a clip |
kTimeScaleMin | The minimum timescale allowed on a clip |
Properties
Name | Description |
---|---|
animationClip | If this contains an animation asset, returns the animation clip attached. Otherwise returns null. |
asset | The PlayableAsset attached to the clip. |
blendInCurveMode | The mode for calculating the blend curve of the overlap at the start of the clip |
blendInDuration | The amount of overlap in seconds on the start of a clip. |
blendOutCurveMode | The mode for calculating the blend curve of the overlap at the end of the clip |
blendOutDuration | The amount of overlap in seconds at the end of a clip. |
clipAssetDuration | The length, in seconds, of the PlayableAsset attached to the clip. |
clipCaps | Returns the capabilities supported by this clip. |
clipIn | Local offset time of the clip. |
curves | An animation clip containing animated properties of the attached PlayableAsset |
displayName | The name displayed on the clip |
duration | The length, in seconds, of the clip |
easeInDuration | The ease in duration of the timeline clip in seconds. This only applies if the start of the clip is not overlapping. |
easeOutDuration | The ease out duration of the timeline clip in seconds. This only applies if the end of the clip is not overlapping. |
easeOutTime | The time in seconds that the ease out begins |
eastOutTime | eastOutTime property is obsolete use easeOutTime property instead |
end | The end time, in seconds of the clip |
exposedParameters | exposedParameter is deprecated and will be removed in a future release |
extrapolatedDuration | The length of the clip in seconds, including extrapolation. |
extrapolatedStart | The start time of the clip, accounting for pre-extrapolation |
hasBlendIn | Returns whether the clip is blending in |
hasBlendOut | Returns whether the clip is blending out |
hasCurves | Whether this clip contains animated properties for the attached PlayableAsset. |
hasPostExtrapolation | Is the clip being extrapolated past its end time? |
hasPreExtrapolation | Is the clip being extrapolated before its start time? |
mixInCurve | The animation curve used for calculating weights during an ease in or a blend in. |
mixInDuration | The amount of the clip blending or easing in, in seconds |
mixInPercentage | The amount of the clip being used for ease or blend in as a percentage |
mixOutCurve | The animation curve used for calculating weights during an ease out or a blend out. |
mixOutDuration | The amount of the clip blending or easing out, in seconds |
mixOutPercentage | The amount of the clip being used for ease or blend out as a percentage |
mixOutTime | The time in seconds that an ease out or blend out starts |
parentTrack | Returns the TrackAsset to which this clip is attached. |
postExtrapolationMode | Returns whether the clip is being extrapolated past the end time. |
preExtrapolationMode | Returns whether the clip is being extrapolated before the start time. |
recordable | Returns whether this clip is recordable in editor |
start | The start time, in seconds, of the clip |
timeScale | A speed multiplier for the clip; |
underlyingAsset | underlyingAsset property is obsolete. Use asset property instead |
Methods
Name | Description |
---|---|
ConformEaseValues() | Use this method to adjust ease in and ease out values to avoid overlapping. |
CreateCurves(string) | Creates an AnimationClip to store animated properties for the attached PlayableAsset. |
EvaluateMixIn(double) | Given a time, returns the weight from the mix in |
EvaluateMixOut(double) | Given a time, returns the weight from the mix out |
GetParentTrack() | Get the TrackAsset to which this clip is attached. |
IsExtrapolatedTime(double) | Given a time, returns whether it falls within the clip's extrapolation |
IsPostExtrapolatedTime(double) | Given a time, returns whether it falls within the clip's post-extrapolation |
IsPreExtrapolatedTime(double) | Given a time, returns whether it falls within the clip's pre-extrapolation |
ToLocalTime(double) | Converts from global time to a clips local time. |
ToLocalTimeUnbound(double) | Converts from global time to local time of the clip |
ToString() | Outputs a more readable representation of the timeline clip as a string |