docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ActionContext

    Action context to be used by actions.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    PlayableDirector
    See Also
    Invoker
    TimelineAction

    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
    Invoker
    TimelineAction

    timeline

    The Timeline asset that is currently opened in the Timeline window.

    Declaration
    public TimelineAsset timeline
    Field Value
    Type Description
    TimelineAsset
    See Also
    Invoker
    TimelineAction

    Properties

    clips

    Clips that will be used by the actions.

    Declaration
    public IEnumerable<TimelineClip> clips { get; set; }
    Property Value
    Type Description
    IEnumerable<TimelineClip>
    See Also
    Invoker
    TimelineAction

    markers

    Markers that will be used by the actions.

    Declaration
    public IEnumerable<IMarker> markers { get; set; }
    Property Value
    Type Description
    IEnumerable<IMarker>
    See Also
    Invoker
    TimelineAction

    tracks

    Tracks that will be used by the actions.

    Declaration
    public IEnumerable<TrackAsset> tracks { get; set; }
    Property Value
    Type Description
    IEnumerable<TrackAsset>
    See Also
    Invoker
    TimelineAction

    Extension Methods

    Invoker.Invoke<T>(ActionContext)

    See Also

    Invoker
    TimelineAction
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)