Struct ActionContext
Action context to be used by actions.
Inherited Members
Namespace: UnityEditor .Timeline.Actions
Assembly: Unity.Timeline.Editor.dll
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 |
---|---|
Playable |
See Also
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 |
---|---|
double? |
See Also
timeline
The Timeline asset that is currently opened in the Timeline window.
Declaration
public TimelineAsset timeline
Field Value
Type | Description |
---|---|
Timeline |
See Also
Properties
clips
Clips that will be used by the actions.
Declaration
public IEnumerable<TimelineClip> clips { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<Timeline |
See Also
markers
Markers that will be used by the actions.
Declaration
public IEnumerable<IMarker> markers { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<IMarker> |
See Also
tracks
Tracks that will be used by the actions.
Declaration
public IEnumerable<TrackAsset> tracks { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<Track |