Polarith AI
1.8
GridGizmo Class Reference

Description

Represents a grid 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 = true
 Determines whether this gizmo is enabled. More...
 
bool Outline = false
 If true, only the outer boundaries are visualized. More...
 
Color Color = new Color(1f, 235f / 255f, 4f / 255f, 50f / 255f)
 The color of the drawn grid. More...
 

Public Methods

void Draw (Vector3 center, float cellSizeX, float cellSizeY, float cellSizeZ, int cellCountX, int cellCountY, int cellCountZ)
 Displays the gizmo in the scene view. More...
 
Imprint