Photon Quantum 3.0.0

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

Individual entry for specifically the border of the navmesh section of the gizmo overlay. More...

Inheritance diagram for Quantum.NavMeshBorderGizmoEntry:
Quantum.QuantumGizmoEntry

Public Member Functions

 NavMeshBorderGizmoEntry (Color color, bool drawNormals, Color borderNormalColor)
 Create a new NavMesh border gizmo entry with the given colors. More...
 
- Public Member Functions inherited from Quantum.QuantumGizmoEntry
 QuantumGizmoEntry (Color color)
 Create a new gizmo entry with the given color. More...
 

Public Attributes

Color BorderNormalColor
 The color of the border normals. More...
 
bool DrawNormals
 Should the normals of the border be drawn. More...
 
- Public Attributes inherited from Quantum.QuantumGizmoEntry
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 specifically the border of the navmesh section of the gizmo overlay.

Constructor & Destructor Documentation

◆ NavMeshBorderGizmoEntry()

Quantum.NavMeshBorderGizmoEntry.NavMeshBorderGizmoEntry ( Color  color,
bool  drawNormals,
Color  borderNormalColor 
)
inline

Create a new NavMesh border gizmo entry with the given colors.

Parameters
color
drawNormals
borderNormalColor

Member Data Documentation

◆ DrawNormals

bool Quantum.NavMeshBorderGizmoEntry.DrawNormals

Should the normals of the border be drawn.

◆ BorderNormalColor

Color Quantum.NavMeshBorderGizmoEntry.BorderNormalColor

The color of the border normals.