The gizmo settings for the Quantum game. More...
Public Member Functions | |
QuantumGizmoEntry | GetEntryForPhysicsEntity2D (Frame frame, EntityRef handle) |
Get the gizmo entry for a specific physics2d entity. More... | |
QuantumGizmoEntry | GetEntryForPhysicsEntity3D (Frame frame, EntityRef handle) |
Get the gizmo entry for a specific physics3d entity. More... | |
Static Public Attributes | |
const string | ID = "QuantumGizmoSettings" |
The Unity overlay UI id used for the Quantum gizmos. More... | |
The gizmo settings for the Quantum game.
|
inline |
Get the gizmo entry for a specific physics3d entity.
frame | |
handle |
|
inline |
Get the gizmo entry for a specific physics2d entity.
frame | |
handle |
|
static |
The Unity overlay UI id used for the Quantum gizmos.
float Quantum.QuantumGameGizmosSettings.IconScale = 1 |
Global scale for all gizmos.
float Quantum.QuantumGameGizmosSettings.SelectedBrightness = 1.1f |
How bright the gizmos are when selected.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.PredictionArea = new QuantumGizmoEntry(QuantumGizmoColors.TransparentRed) { Enabled = true, DisableFill = true, OnlyDrawSelected = false } |
Draw the prediction area. Only available at runtime.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.CharacterController = new PhysicsComponentGizmoEntry(QuantumGizmoColors.TransparentYellow) |
Draw the CharacterController3D and CharacterController2D components.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.StaticColliders = new PhysicsComponentGizmoEntry(QuantumGizmoColors.TransparentSkyBlue) |
Draw the colliders that are currently static.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.DynamicColliders = new PhysicsComponentGizmoEntry(QuantumGizmoColors.TransparentLimeGreen) |
Draw the colliders that are currently dynamic.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.KinematicColliders = new PhysicsComponentGizmoEntry(QuantumGizmoColors.TransparentWhite) |
Draw the colliders that are currently kinematic.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.AsleepColliders = new PhysicsComponentGizmoEntry(QuantumGizmoColors.TransparentLightPurple) |
Draw the colliders that are asleep.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.DisabledColliders = new PhysicsComponentGizmoEntry(QuantumGizmoColors.TransparentGray) |
Draw the colliders that are disabled.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.PhysicsArea = new QuantumGizmoEntry(QuantumGizmoColors.LightBlue) |
Draw the map's physics area.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.PhysicsBuckets = new QuantumGizmoEntry(QuantumGizmoColors.LightBlue) |
Draw the map's physics buckets.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.StaticMeshNormals = new QuantumGizmoEntry(QuantumGizmoColors.Red) |
Draw the baked static mesh vertices.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.StaticMeshTriangles = new QuantumGizmoEntry(QuantumGizmoColors.LightBlue) |
Draw the baked static mesh vertices.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.SceneMeshCells = new QuantumGizmoEntry(QuantumGizmoColors.LightBlue) |
Draw the cells of the scene mesh.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.SceneMeshTriangles = new QuantumGizmoEntry(QuantumGizmoColors.LightBlue) |
Draw the triangles of the scene mesh.
JointGizmoEntry Quantum.QuantumGameGizmosSettings.PhysicsJoints |
Draw the entity's physics joints.
Boolean Quantum.QuantumGameGizmosSettings.ScaleComponentsWithAgentRadius = true |
Should NavMesh components be scaled with the agent radius?
NavMeshGizmoEntry Quantum.QuantumGameGizmosSettings.NavMesh = new NavMeshGizmoEntry(QuantumGizmoColors.TransparentLightBlue, QuantumGizmoColors.TransparentMaroon) { Enabled = true, OnlyDrawSelected = true } |
Draw the NavMesh. The QuantumMap game object will trigger DrawOnlySelected.
NavMeshBorderGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshBorders = new NavMeshBorderGizmoEntry(QuantumGizmoColors.Black, false, QuantumGizmoColors.Yellow) { Enabled = true, OnlyDrawSelected = true } |
Draw the border of the NavMesh.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshArea = new QuantumGizmoEntry(QuantumGizmoColors.TransparentLightBlue) { OnlyDrawSelected = true } |
Draw the NavMesh area. The QuantumMap game object will trigger DrawOnlySelected.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshGrid = new QuantumGizmoEntry(QuantumGizmoColors.TransparentLightGreen) { OnlyDrawSelected = true } |
Draw the NavMesh grid. The QuantumMap game object will trigger DrawOnlySelected.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshLinks = new QuantumGizmoEntry(QuantumGizmoColors.Blue) { Enabled = true, OnlyDrawSelected = true } |
Draw the NavMesh links.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshVertexNormals = new QuantumGizmoEntry(QuantumGizmoColors.Yellow) { OnlyDrawSelected = true } |
Draw the vertex normals of the NavMesh.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshTriangleIds = new QuantumGizmoEntry(QuantumGizmoColors.TransparentLightBlue) { OnlyDrawSelected = true } |
Draw the triangle ids of the NavMesh.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshRegionIds = new QuantumGizmoEntry(QuantumGizmoColors.TransparentMaroon) { OnlyDrawSelected = true } |
Draw the region ids of the NavMesh.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshVertexIds = new QuantumGizmoEntry(QuantumGizmoColors.Green) { OnlyDrawSelected = true } |
Draw the numerical vertex ids of the NavMesh.
NavMeshComponentGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshPathfinder = new NavMeshComponentGizmoEntry(QuantumGizmoColors.Magenta) |
Draw the NavMesh pathfinder component. Only available at runtime.
NavMeshComponentGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshSteeringAgent = new NavMeshComponentGizmoEntry(QuantumGizmoColors.TransparentGreen) |
Draw the NavMesh steering agent component. Only available at runtime.
NavMeshComponentGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshAvoidanceAgent = new NavMeshComponentGizmoEntry(QuantumGizmoColors.TransparentBlue) |
Draw the NavMesh avoidance agent component. Only available at runtime.
NavMeshComponentGizmoEntry Quantum.QuantumGameGizmosSettings.NavMeshAvoidanceObstacles = new NavMeshComponentGizmoEntry(QuantumGizmoColors.TransparentRed) |
Draw the NavMesh avoidance obstacles component. Only available at runtime.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.PathfinderRawPath = new QuantumGizmoEntry(QuantumGizmoColors.Magenta) |
Draw the pathfinder path. Only available at runtime.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.PathfinderRawTrianglePath = new QuantumGizmoEntry(QuantumGizmoColors.TransparentMagenta) |
Draw the raw pathfinder triangle path. Only available at runtime.
QuantumGizmoEntry Quantum.QuantumGameGizmosSettings.PathfinderFunnel = new QuantumGizmoEntry(QuantumGizmoColors.Green) |
Draw the pathfinder funnel. Only available at runtime.