API Referenceglobal
public class Sandbox.Gizmo.SceneSettings
Constructors
Showing 1 constructors
public SceneSettings()
No results match this filter.
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
No results match this filter.
Properties
Showing 11 properties
public float Sandbox.Gizmo.SceneSettings.AngleSpacing { get; set; }
Grid spacing
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.GizmosEnabled { get; set; }
Are gizmos enabled?
public bool Sandbox.Gizmo.SceneSettings.GlobalSpace { get; set; }
Editing in local space
public float Sandbox.Gizmo.SceneSettings.GridSpacing { get; set; }
Grid spacing
public bool Sandbox.Gizmo.SceneSettings.Selection { get; set; }
Do we want to let the user select things in the current mode?
public bool Sandbox.Gizmo.SceneSettings.SnapToAngles { get; set; }
Snap angles
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?
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Gizmo.SceneSettings |