EditorPreferencesclass

objectEditorPreferences
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public static abstract sealed class Editor.EditorPreferences

Properties33

Showing 33 properties

public static bool Editor.EditorPreferences.BackfaceSelection { get; set; }PUBLICSTATICGETSET

Should we hit the back faces when tracing meshes

Returns:bool

public static bool Editor.EditorPreferences.BoundsPlacement { get; set; }PUBLICSTATICGETSET

Use bounds when dragging in objects

Returns:bool

public static Color Editor.EditorPreferences.CameraBackgroundColor { get; set; }PUBLICSTATICGETSET

Camera viewport background color

Returns:Color

public static float Editor.EditorPreferences.CameraFieldOfView { get; set; }PUBLICSTATICGETSET

Camera field of view

Returns:float

public static bool Editor.EditorPreferences.CameraInvertPan { get; set; }PUBLICSTATICGETSET

Should the camera panning be inverted?

Returns:bool

public static float Editor.EditorPreferences.CameraMovementSmoothing { get; set; }PUBLICSTATICGETSET

Should we smooth the movement of the camera. This is the smooth time, in seconds. No smoothing feels pretty jarring, but a bit feels nice. Once you get over half a second it makes everything feel slow and horrible.

Returns:float

public static float Editor.EditorPreferences.CameraSensitivity { get; set; }PUBLICSTATICGETSET

Returns:float

public static float Editor.EditorPreferences.CameraSpeed { get; set; }PUBLICSTATICGETSET

How fast should the camera move

Returns:float

public static float Editor.EditorPreferences.CameraZFar { get; set; }PUBLICSTATICGETSET

The furthest thing to render

Returns:float

public static float Editor.EditorPreferences.CameraZNear { get; set; }PUBLICSTATICGETSET

The closest thing to render

Returns:float

public static bool Editor.EditorPreferences.ClearConsoleOnPlay { get; set; }PUBLICSTATICGETSET

Returns:bool

public static bool Editor.EditorPreferences.CreateObjectsAtOrigin { get; set; }PUBLICSTATICGETSET

Returns:bool

public static string Editor.EditorPreferences.DedicatedServerCommandLineArgs { get; set; }PUBLICSTATICGETSET

Command-line arguments for new game instances spawned by the editor.

Returns:string

public static float Editor.EditorPreferences.ErrorNotificationTimeout { get; set; }PUBLICSTATICGETSET

The amount of seconds to keep a notification open if it's an error

Returns:float

public static bool Editor.EditorPreferences.FastHotload { get; set; }PUBLICSTATICGETSET

Returns:bool

public static bool Editor.EditorPreferences.FullScreenOnPlay { get; set; }PUBLICSTATICGETSET

Returns:bool

public static bool Editor.EditorPreferences.GizmoDepthTest { get; set; }PUBLICSTATICGETSET

When enabled, component gizmo handles are depth tested against scene geometry.

Returns:bool

public static float Editor.EditorPreferences.GizmoRenderDistance { get; set; }PUBLICSTATICGETSET

Maximum distance at which component gizmo handles are visible. 0 for unlimited.

Returns:float

public static float Editor.EditorPreferences.GizmoScale { get; set; }PUBLICSTATICGETSET

How big to show component gizmo handles.

Returns:float

public static bool Editor.EditorPreferences.HideOrbitCursor { get; set; }PUBLICSTATICGETSET

Should we hide the eye cursor when orbiting scene camera?

Returns:bool

public static bool Editor.EditorPreferences.HidePanCursor { get; set; }PUBLICSTATICGETSET

Should we hide the eye cursor when panning scene camera?

Returns:bool

public static bool Editor.EditorPreferences.HideRotateCursor { get; set; }PUBLICSTATICGETSET

Should we hide the eye cursor when rotating the scene camera?

Returns:bool

public static bool Editor.EditorPreferences.InvertOrbitZoom { get; set; }PUBLICSTATICGETSET

Should the orbit camera zoom be inverted? Inverted: mouse up/left zooms in, mouse down/right zooms outStandard: mouse down/right zooms in, mouse up/left zooms out

Returns:bool

public static string Editor.EditorPreferences.NewInstanceCommandLineArgs { get; set; }PUBLICSTATICGETSET

Command-line arguments for new game instances spawned by the editor.

Returns:string

public static bool Editor.EditorPreferences.NotificationPopups { get; set; }PUBLICSTATICGETSET

Returns:bool

public static bool Editor.EditorPreferences.NotificationSounds { get; set; }PUBLICSTATICGETSET

Returns:bool

public static float Editor.EditorPreferences.OrbitZoomSpeed { get; set; }PUBLICSTATICGETSET

How fast should the orbit camera zoom?

Returns:float

public static bool Editor.EditorPreferences.PasteAtCursor { get; set; }PUBLICSTATICGETSET

When enabled, pasted or duplicated objects are placed under the cursor and aligned to the hit surface.

Returns:bool

public static System.Collections.Generic.Dictionary`2<string,string> Editor.EditorPreferences.ShortcutOverrides { get; set; }PUBLICSTATICGETSET

Overrides for any Editor shortcuts.

Returns:Dictionary<string,string>

public static bool Editor.EditorPreferences.UndoSounds { get; set; }PUBLICSTATICGETSET

Controls whether a sound is played for any undo/redo operation (success or failure)

Returns:bool

public static bool Editor.EditorPreferences.WindowedLocalInstances { get; set; }PUBLICSTATICGETSET

Whether new game instances spawned by the editor are in windowed mode.

Returns:bool

public static bool Editor.EditorPreferences.WorldSpaceGizmos { get; set; }PUBLICSTATICGETSET

When enabled, component gizmo handles are drawn at a fixed world size instead of maintaining a constant screen size regardless of distance.

Returns:bool

On this page

Propertiespublic static System.Boolean Editor.EditorPreferences.BackfaceSelection { get; set; }public static System.Boolean Editor.EditorPreferences.BoundsPlacement { get; set; }public static Color Editor.EditorPreferences.CameraBackgroundColor { get; set; }public static System.Single Editor.EditorPreferences.CameraFieldOfView { get; set; }public static System.Boolean Editor.EditorPreferences.CameraInvertPan { get; set; }public static System.Single Editor.EditorPreferences.CameraMovementSmoothing { get; set; }public static System.Single Editor.EditorPreferences.CameraSensitivity { get; set; }public static System.Single Editor.EditorPreferences.CameraSpeed { get; set; }public static System.Single Editor.EditorPreferences.CameraZFar { get; set; }public static System.Single Editor.EditorPreferences.CameraZNear { get; set; }public static System.Boolean Editor.EditorPreferences.ClearConsoleOnPlay { get; set; }public static Editor.EditorPreferences.NotificationLevel Editor.EditorPreferences.CompileNotifications { get; set; }public static System.Boolean Editor.EditorPreferences.CreateObjectsAtOrigin { get; set; }public static System.String Editor.EditorPreferences.DedicatedServerCommandLineArgs { get; set; }public static System.Single Editor.EditorPreferences.ErrorNotificationTimeout { get; set; }public static System.Boolean Editor.EditorPreferences.FastHotload { get; set; }public static System.Boolean Editor.EditorPreferences.FullScreenOnPlay { get; set; }public static System.Boolean Editor.EditorPreferences.GizmoDepthTest { get; set; }public static System.Single Editor.EditorPreferences.GizmoRenderDistance { get; set; }public static System.Single Editor.EditorPreferences.GizmoScale { get; set; }public static System.Boolean Editor.EditorPreferences.HideOrbitCursor { get; set; }public static System.Boolean Editor.EditorPreferences.HidePanCursor { get; set; }public static System.Boolean Editor.EditorPreferences.HideRotateCursor { get; set; }public static System.Boolean Editor.EditorPreferences.InvertOrbitZoom { get; set; }public static System.String Editor.EditorPreferences.NewInstanceCommandLineArgs { get; set; }public static System.Boolean Editor.EditorPreferences.NotificationPopups { get; set; }public static System.Boolean Editor.EditorPreferences.NotificationSounds { get; set; }public static System.Single Editor.EditorPreferences.OrbitZoomSpeed { get; set; }public static System.Boolean Editor.EditorPreferences.PasteAtCursor { get; set; }public static System.Collections.Generic.Dictionary`2<System.String,System.String> Editor.EditorPreferences.ShortcutOverrides { get; set; }public static System.Boolean Editor.EditorPreferences.UndoSounds { get; set; }public static System.Boolean Editor.EditorPreferences.WindowedLocalInstances { get; set; }public static System.Boolean Editor.EditorPreferences.WorldSpaceGizmos { get; set; }Metadata