docs.unity3d.com
    Show / Hide Table of Contents

    Class TimelineAsset.EditorSettings

    Properties of the timeline that are used by the editor

    Inheritance
    Object
    TimelineAsset.EditorSettings
    Namespace: UnityEngine.Timeline
    Syntax
    public class EditorSettings : object

    Properties

    fps

    The frames per second used for snapping and time ruler display

    Declaration
    public float fps { get; set; }
    Property Value
    Type Description
    Single

    scenePreview

    Set to false to ignore scene preview when this timeline is played by the Timeline window.

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

    When set to false, this setting will

    • Disable scene preview when this timeline is played by the Timeline window.
    • Disable recording for all recordable tracks.
    • Disable play range in the Timeline window.
    • Stop() is not called on the PlayableDirector when switching between different TimelineAssets in the TimelineWindow.

    scenePreview will only be applied if the asset is the master timeline.

    See Also
    TimelineAsset
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023