s&box docs

public class Sandbox.Gizmo.SceneSettings

Constructors

Showing 1 constructors

Methods

Showing 3 methods

public void ClearEnabledGizmos()

Clear all enabled gizmos

public bool IsGizmoEnabled(System.Type type)

Check if a gizmo type is enabled

public void SetGizmoEnabled(System.Type type, bool enabled)

Set the enabled state of a gizmo type

Properties

Showing 11 properties

public bool Sandbox.Gizmo.SceneSettings.DebugActionGraphs { get; set; }

Should we show lines representing GameObject references in action graphs?

public string Sandbox.Gizmo.SceneSettings.EditMode { get; set; }

How do we want to edit this? Usually something like "position", "rotation", "scale" etc

public float Sandbox.Gizmo.SceneSettings.GizmoScale { get; set; }

How big to show the gizmos

public bool Sandbox.Gizmo.SceneSettings.SnapToGrid { get; set; }

Snap positions to the grid

public string Sandbox.Gizmo.SceneSettings.ViewMode { get; set; }

What is the current view mode? 3d, 2d, ui?

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Gizmo.SceneSettings

On this page