Individual entry for a specific section of Quantum. More...
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... | |
bool | Enabled |
Is this gizmo enabled. 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... | |
Individual entry for a specific section of Quantum.
|
inline |
Create a new gizmo entry with the given color.
color |
bool Quantum.QuantumGizmoEntry.Enabled |
Is this gizmo enabled.
Color Quantum.QuantumGizmoEntry.Color |
The main color of the gizmo.
float Quantum.QuantumGizmoEntry.Scale |
The scale of the gizmo. Only available for gizmos that support scaling. 0 means disabled.
OptionalGizmoBool Quantum.QuantumGizmoEntry.OnlyDrawSelected |
Only draw the gizmo when the object is selected.
OptionalGizmoBool Quantum.QuantumGizmoEntry.DisableFill |
Draw the gizmo without fill. Only available for gizmos that support fill.
Color Quantum.QuantumGizmoEntry.InactiveColor => Color.Desaturate() |
The color of the gizmo when it is inactive.
Color Quantum.QuantumGizmoEntry.TransparentColor => Color.Alpha(0.5f) |
The transparent version of the gizmo color.
QuantumGizmoStyle Quantum.QuantumGizmoEntry.Style => DisableFill ? QuantumGizmoStyle.FillDisabled : default |
The style of the gizmo.