GameModeclass

Registers a widget with the input system to use SDL and manages inputs and focus as it relates to the editor's game widget.

objectGameMode
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public static abstract sealed class Editor.GameMode

Methods2

Showing 2 methods

public static void ClearPlayMode()PUBLICSTATIC

Returns:void

public static void SetPlayWidget(Editor.SceneRenderingWidget widget)PUBLICSTATIC

Given a widget, register it for SDL input, and tell the engine this is the swapchain we have

ParameterTypeDescription
widgetSceneRenderingWidget
Returns:void

On this page