docs.unity.cn
    Show / Hide Table of Contents

    Class TimelineEditorWindow

    Base class of the TimelineWindow.

    Inheritance
    Object
    Object
    ScriptableObject
    EditorWindow
    TimelineEditorWindow
    Inherited Members
    EditorWindow.BeginWindows()
    EditorWindow.EndWindows()
    EditorWindow.ShowNotification(GUIContent)
    EditorWindow.ShowNotification(GUIContent, Double)
    EditorWindow.RemoveNotification()
    UnityEditor.EditorWindow.ShowTab()
    EditorWindow.Focus()
    EditorWindow.ShowUtility()
    EditorWindow.ShowPopup()
    EditorWindow.ShowModalUtility()
    EditorWindow.ShowAsDropDown(Rect, Vector2)
    EditorWindow.Show()
    EditorWindow.Show(Boolean)
    EditorWindow.ShowAuxWindow()
    EditorWindow.ShowModal()
    EditorWindow.GetWindow(Type, Boolean, String, Boolean)
    EditorWindow.GetWindow(Type, Boolean, String)
    EditorWindow.GetWindow(Type, Boolean)
    EditorWindow.GetWindow(Type)
    EditorWindow.GetWindowWithRect(Type, Rect, Boolean, String)
    EditorWindow.GetWindowWithRect(Type, Rect, Boolean)
    EditorWindow.GetWindowWithRect(Type, Rect)
    UnityEditor.EditorWindow.GetWindow<T>()
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String)
    UnityEditor.EditorWindow.GetWindow<T>(System.String)
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String, System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Type[])
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Type[])
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean, System.Type[])
    UnityEditor.EditorWindow.CreateWindow<T>(System.Type[])
    UnityEditor.EditorWindow.CreateWindow<T>(System.String, System.Type[])
    UnityEditor.EditorWindow.HasOpenInstances<T>()
    EditorWindow.FocusWindowIfItsOpen(Type)
    UnityEditor.EditorWindow.FocusWindowIfItsOpen<T>()
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String, System.Boolean)
    EditorWindow.Close()
    EditorWindow.Repaint()
    EditorWindow.SendEvent(Event)
    EditorWindow.GetExtraPaneTypes()
    EditorWindow.rootVisualElement
    EditorWindow.wantsMouseMove
    EditorWindow.wantsMouseEnterLeaveWindow
    EditorWindow.autoRepaintOnSceneChange
    EditorWindow.maximized
    EditorWindow.focusedWindow
    EditorWindow.mouseOverWindow
    EditorWindow.minSize
    EditorWindow.maxSize
    EditorWindow.title
    EditorWindow.titleContent
    UnityEditor.EditorWindow.depthBufferBits
    UnityEditor.EditorWindow.antiAlias
    EditorWindow.position
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Timeline
    Syntax
    public abstract class TimelineEditorWindow : EditorWindow

    Properties

    locked

    Allows retrieving and and setting the Timeline Window lock state. When the lock is off, the window focus follows the Unity selection.

    Declaration
    public abstract bool locked { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    When lock transitions from true to false, the focused timeline will be synchronized with the Unity selection.

    navigator

    Interface used to navigate between Timelines and SubTimelines. (RO)

    Declaration
    public abstract TimelineNavigator navigator { get; }
    Property Value
    Type Description
    TimelineNavigator

    Methods

    ClearTimeline()

    Allows clearing the TimelineAsset that is shown in the TimelineWindow.

    Declaration
    public abstract void ClearTimeline()
    Remarks

    Ignores window lock mode.

    SetTimeline(PlayableDirector)

    Allows setting which TimelineAsset is shown in the TimelineWindow and which PlayableDirector is used to evaluate it.

    Declaration
    public abstract void SetTimeline(PlayableDirector director)
    Parameters
    Type Name Description
    PlayableDirector director

    The PlayableDirector who's timeline should be shown.

    Remarks

    Ignores window lock mode. Calling with null, will clear the displayed timeline.

    SetTimeline(TimelineAsset)

    Allows setting which TimelineAsset is shown in the TimelineWindow.

    Declaration
    public abstract void SetTimeline(TimelineAsset sequence)
    Parameters
    Type Name Description
    TimelineAsset sequence

    The asset to show.

    Remarks

    Calling this method will put the window in asset edit mode and certain features might be missing (eg: timeline cannot be evaluated, bindings will not be available, etc). Ignores window lock mode. Calling with null, will clear the displayed timeline.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023