Polarith AI
1.8
BoxGizmo Class Reference

Description

Represents a box gizmo to be drawn within the scene view.

This class is serializable so that it is suitable for the direct use in MonoBehaviour instances supporting Unity's inspector.

Public Fields

bool Enabled = false
 Determines if this gizmo is enabled. More...
 
Color Color = new Color(1f, 235f / 255f, 4f / 255f, 50f / 255f)
 The color of the drawn box. More...
 
bool Markers = true
 Enables diagonals on the front and back face for orientation in 3-dimensional space. More...
 

Public Methods

void Draw (Vector3 center, float sizeX, float sizeY, float sizeZ, Quaternion rotation)
 Displays the gizmo in the scene view. More...
 
Imprint