docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SimulationControlsGUI

    GUI for the simulation controls

    Inheritance
    object
    SimulationControlsGUI
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.MARS.Simulation
    Assembly: Unity.MARS.Editor.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class SimulationControlsGUI

    Methods

    DrawControlsWindow(bool, bool)

    Draw the simulation view controls window popup

    Declaration
    public static void DrawControlsWindow(bool showPlaybackControls = true, bool recordingSupported = true)
    Parameters
    Type Name Description
    bool showPlaybackControls

    Show the playback controls in the window

    bool recordingSupported

    Show the recording controls in the window

    DrawHelpArea(ViewSceneType)

    (Obsolete) Draw help dialogs for a simulated device view

    Declaration
    [Obsolete]
    public static bool DrawHelpArea(ViewSceneType sceneType)
    Parameters
    Type Name Description
    ViewSceneType sceneType

    Current scene scene view type

    Returns
    Type Description
    bool

    True if any help message was displayed; false if no message was displayed.

    DrawSimulationViewToolbar(SimulationView)

    Draw the simulation view toolbar

    Declaration
    public static void DrawSimulationViewToolbar(this SimulationView view)
    Parameters
    Type Name Description
    SimulationView view

    ViewSelectionElement(ISimulationView, GUIContent[])

    GUI for selecting the view type

    Declaration
    [Obsolete("ViewSelectionElement has been deprecated and will be removed in future versions of MARS")]
    public static void ViewSelectionElement(ISimulationView view, GUIContent[] contents)
    Parameters
    Type Name Description
    ISimulationView view

    View to change type on

    GUIContent[] contents

    View type contents

    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)