Photon Quantum 3.0.0

Public Member Functions | Public Attributes | 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.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...
 
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...
 

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

◆ Enabled

bool Quantum.QuantumGizmoEntry.Enabled

Is this gizmo enabled.

◆ 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.