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 |
---|---|
k |
The default capabilities for a clip |
k |
The default length of a clip in seconds. |
k |
The maximum timescale allowed on a clip |
k |
The minimum timescale allowed on a clip |
Properties
Name | Description |
---|---|
animation |
If this contains an animation asset, returns the animation clip attached. Otherwise returns null. |
asset | The PlayableAsset attached to the clip. |
blend |
The mode for calculating the blend curve of the overlap at the start of the clip |
blend |
The amount of overlap in seconds on the start of a clip. |
blend |
The mode for calculating the blend curve of the overlap at the end of the clip |
blend |
The amount of overlap in seconds at the end of a clip. |
clip |
The length, in seconds, of the PlayableAsset attached to the clip. |
clip |
Returns the capabilities supported by this clip. |
clip |
Local offset time of the clip. |
curves | An animation clip containing animated properties of the attached PlayableAsset |
display |
The name displayed on the clip |
duration | The length, in seconds, of the clip |
ease |
The ease in duration of the timeline clip in seconds. This only applies if the start of the clip is not overlapping. |
ease |
The ease out duration of the timeline clip in seconds. This only applies if the end of the clip is not overlapping. |
ease |
The time in seconds that the ease out begins |
east |
eastOutTime property is obsolete use easeOutTime property instead |
end | The end time, in seconds of the clip |
exposed |
exposedParameter is deprecated and will be removed in a future release |
extrapolated |
The length of the clip in seconds, including extrapolation. |
extrapolated |
The start time of the clip, accounting for pre-extrapolation |
has |
Returns whether the clip is blending in |
has |
Returns whether the clip is blending out |
has |
Whether this clip contains animated properties for the attached PlayableAsset. |
has |
Is the clip being extrapolated past its end time? |
has |
Is the clip being extrapolated before its start time? |
mix |
The animation curve used for calculating weights during an ease in or a blend in. |
mix |
The amount of the clip blending or easing in, in seconds |
mix |
The amount of the clip being used for ease or blend in as a percentage |
mix |
The animation curve used for calculating weights during an ease out or a blend out. |
mix |
The amount of the clip blending or easing out, in seconds |
mix |
The amount of the clip being used for ease or blend out as a percentage |
mix |
The time in seconds that an ease out or blend out starts |
parent |
Returns the TrackAsset to which this clip is attached. |
post |
Returns whether the clip is being extrapolated past the end time. |
pre |
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 |
time |
A speed multiplier for the clip; |
underlying |
underlyingAsset property is obsolete. Use asset property instead |
Methods
Name | Description |
---|---|
Conform |
Use this method to adjust ease in and ease out values to avoid overlapping. |
Create |
Creates an AnimationClip to store animated properties for the attached PlayableAsset. |
Evaluate |
Given a time, returns the weight from the mix in |
Evaluate |
Given a time, returns the weight from the mix out |
Get |
Get the TrackAsset to which this clip is attached. |
Is |
Given a time, returns whether it falls within the clip's extrapolation |
Is |
Given a time, returns whether it falls within the clip's post-extrapolation |
Is |
Given a time, returns whether it falls within the clip's pre-extrapolation |
To |
Converts from global time to a clips local time. |
To |
Converts from global time to local time of the clip |
To |
Outputs a more readable representation of the timeline clip as a string |