SceneSettingsclass
Constructors1
Showing 1 constructors
public SceneSettings()
No results match this filter.
Methods3
Showing 3 methods
public void ClearEnabledGizmos()
Clear all enabled gizmos
void—No results match this filter.
Properties14
Showing 14 properties
public float Sandbox.Gizmo.SceneSettings.AngleSpacing { get; set; }
Grid spacing
float—public bool Sandbox.Gizmo.SceneSettings.DebugActionGraphs { get; set; }
Should we show lines representing GameObject references in action graphs?
bool—public string Sandbox.Gizmo.SceneSettings.EditMode { get; set; }
How do we want to edit this? Usually something like "position", "rotation", "scale" etc
string—public bool Sandbox.Gizmo.SceneSettings.GizmoDepthTest { get; set; }
When enabled, component gizmo handles are depth tested against scene geometry. When disabled, they render on top of everything.
bool—public float Sandbox.Gizmo.SceneSettings.GizmoRenderDistance { get; set; }
Maximum distance from the camera at which component gizmo handles are visible. Set to 0 for unlimited distance.
float—public float Sandbox.Gizmo.SceneSettings.GizmoScale { get; set; }
How big to show the gizmos
float—public bool Sandbox.Gizmo.SceneSettings.GizmosEnabled { get; set; }
Are gizmos enabled?
bool—public bool Sandbox.Gizmo.SceneSettings.GlobalSpace { get; set; }
Editing in local space
bool—public float Sandbox.Gizmo.SceneSettings.GridSpacing { get; set; }
Grid spacing
float—public bool Sandbox.Gizmo.SceneSettings.Selection { get; set; }
Do we want to let the user select things in the current mode?
bool—public bool Sandbox.Gizmo.SceneSettings.SnapToAngles { get; set; }
Snap angles
bool—public bool Sandbox.Gizmo.SceneSettings.SnapToGrid { get; set; }
Snap positions to the grid
bool—public string Sandbox.Gizmo.SceneSettings.ViewMode { get; set; }
What is the current view mode? 3d, 2d, ui?
string—public bool Sandbox.Gizmo.SceneSettings.WorldSpaceGizmos { get; set; }
When enabled, component gizmo handles are drawn at a fixed world size instead of maintaining a constant screen size regardless of distance.
bool—No results match this filter.