docs.unity3d.com
    Show / Hide Table of Contents

    Class SimulationControlsGUI

    GUI for the simulation controls

    Inheritance
    Object
    SimulationControlsGUI
    Namespace: UnityEditor.MARS.Simulation
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class SimulationControlsGUI

    Methods

    DrawControlsWindow(Boolean, Boolean)

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

    DrawHelpArea(ViewSceneType)

    Draw help dialogs for a simulated device view

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

    Current scene scene view type

    Returns
    Type Description
    Boolean

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

    DrawSimulationViewToolbar(SimulationView)

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

    ViewSelectionElement(ISimulationView, GUIContent[])

    Declaration
    public static void ViewSelectionElement(ISimulationView view, GUIContent[] contents)
    Parameters
    Type Name Description
    ISimulationView view
    GUIContent[] contents
    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