docs.unity3d.com
    目次を表示する/隠す

    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)

    Draw the simulation view controls window popup

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

    Show the playback controls in the window

    Boolean 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
    Boolean

    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

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)