Struct ActionContext
Action context to be used by actions.
Inherited Members
Namespace: UnityEditor.Timeline.Actions
Syntax
public struct ActionContext
Fields
director
The PlayableDirector that is used to play the current Timeline asset.
Declaration
public PlayableDirector director
Field Value
Type | Description |
---|---|
PlayableDirector |
invocationTime
Time based on the position of the cursor on the timeline (in seconds). null if the time is not available (in case of a shortcut for example).
Declaration
public double? invocationTime
Field Value
Type | Description |
---|---|
Nullable<Double> |
timeline
The Timeline asset that is currently opened in the Timeline window.
Declaration
public TimelineAsset timeline
Field Value
Type | Description |
---|---|
TimelineAsset |
Properties
clips
Clips that will be used by the actions.
Declaration
public IEnumerable<TimelineClip> clips { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TimelineClip> |
markers
Markers that will be used by the actions.
Declaration
public IEnumerable<IMarker> markers { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<IMarker> |
tracks
Tracks that will be used by the actions.
Declaration
public IEnumerable<TrackAsset> tracks { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TrackAsset> |