Quantum 3 3.1.0

Public Member Functions | Public Attributes | Properties | List of all members
Quantum.QuantumGizmoEntry Class Reference

Individual entry for a specific section of Quantum. More...

Inheritance diagram for Quantum.QuantumGizmoEntry:
Quantum.JointGizmoEntry Quantum.NavMeshBorderGizmoEntry Quantum.NavMeshComponentGizmoEntry Quantum.NavMeshGizmoEntry Quantum.NavMeshLinkGizmoEntry Quantum.PhysicsComponentGizmoEntry Quantum.QuantumUserGizmoEntry

Public Member Functions

 QuantumGizmoEntry (Color color)
 Create a new gizmo entry with the given color. More...
 

Public Attributes

Color Color
 The main color of the gizmo. More...
 
OptionalGizmoBool DisableFill
 Draw the gizmo without fill. Only available for gizmos that support fill. More...
 
Color InactiveColor => Color.Desaturate()
 The color of the gizmo when it is inactive. More...
 
OptionalGizmoBool OnlyDrawSelected
 Only draw the gizmo when the object is selected. More...
 
float Scale
 The scale of the gizmo. Only available for gizmos that support scaling. 0 means disabled. More...
 
QuantumGizmoStyle Style => DisableFill ? QuantumGizmoStyle.FillDisabled : default
 The style of the gizmo. More...
 
Color TransparentColor => Color.Alpha(0.5f)
 The transparent version of the gizmo color. More...
 

Properties

bool CategoryEnabled [get, set]
 Whether this entry's category is enabled. More...
 
bool Enabled [get, set]
 Returns true if the gizmo is enabled (by self and category). Setting this property will only set its EnabledSelf state. More...
 
bool EnabledSelf [get, set]
 This entry's own enabled state. More...
 

Detailed Description

Individual entry for a specific section of Quantum.

Constructor & Destructor Documentation

◆ QuantumGizmoEntry()

Quantum.QuantumGizmoEntry.QuantumGizmoEntry ( Color  color)
inline

Create a new gizmo entry with the given color.

Parameters
color

Member Data Documentation

◆ Color

Color Quantum.QuantumGizmoEntry.Color

The main color of the gizmo.

◆ Scale

float Quantum.QuantumGizmoEntry.Scale

The scale of the gizmo. Only available for gizmos that support scaling. 0 means disabled.

◆ OnlyDrawSelected

OptionalGizmoBool Quantum.QuantumGizmoEntry.OnlyDrawSelected

Only draw the gizmo when the object is selected.

◆ DisableFill

OptionalGizmoBool Quantum.QuantumGizmoEntry.DisableFill

Draw the gizmo without fill. Only available for gizmos that support fill.

◆ InactiveColor

Color Quantum.QuantumGizmoEntry.InactiveColor => Color.Desaturate()

The color of the gizmo when it is inactive.

◆ TransparentColor

Color Quantum.QuantumGizmoEntry.TransparentColor => Color.Alpha(0.5f)

The transparent version of the gizmo color.

◆ Style

QuantumGizmoStyle Quantum.QuantumGizmoEntry.Style => DisableFill ? QuantumGizmoStyle.FillDisabled : default

The style of the gizmo.

Property Documentation

◆ Enabled

bool Quantum.QuantumGizmoEntry.Enabled
getset

Returns true if the gizmo is enabled (by self and category). Setting this property will only set its EnabledSelf state.

◆ EnabledSelf

bool Quantum.QuantumGizmoEntry.EnabledSelf
getset

This entry's own enabled state.

◆ CategoryEnabled

bool Quantum.QuantumGizmoEntry.CategoryEnabled
getset

Whether this entry's category is enabled.