Api Editor EditorPreferences
class

EditorPreferences

public static abstract sealed class EditorPreferences

Properties

Name Type Description
NotificationPopups static Boolean
NotificationSounds static Boolean
ClearConsoleOnPlay static Boolean
FullScreenOnPlay static Boolean
FastHotload static Boolean
CompileNotifications static NotificationLevel
ErrorNotificationTimeout static Single The amount of seconds to keep a notification open if it's an error
CameraFieldOfView static Single Camera field of view
CameraZNear static Single The closest thing to render
CameraZFar static Single The furthest thing to render
CameraMovementSmoothing static Single 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.
CameraSpeed static Single How fast should the camera move
CameraSensitivity static Single
CreateObjectsAtOrigin static Boolean
InvertOrbitZoom static Boolean 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
OrbitZoomSpeed static Single How fast should the orbit camera zoom?
CameraInvertPan static Boolean Should the camera panning be inverted?
HideRotateCursor static Boolean Should we hide the eye cursor when rotating the scene camera?
HidePanCursor static Boolean Should we hide the eye cursor when panning scene camera?
HideOrbitCursor static Boolean Should we hide the eye cursor when orbiting scene camera?
BackfaceSelection static Boolean Should we hit the back faces when tracing meshes
BoundsPlacement static Boolean Use bounds when dragging in objects
PasteAtCursor static Boolean When enabled, pasted or duplicated objects are placed under the cursor and aligned to the hit surface.
UndoSounds static Boolean Controls whether a sound is played for any undo/redo operation (success or failure)
ShortcutOverrides static Dictionary<String, String> Overrides for any Editor shortcuts.
WindowedLocalInstances static Boolean Whether new game instances spawned by the editor are in windowed mode.
NewInstanceCommandLineArgs static String Command-line arguments for new game instances spawned by the editor.
DedicatedServerCommandLineArgs static String Command-line arguments for new game instances spawned by the editor.
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.EditorPreferences