Polarith AI
1.8
PlaneGizmo Class Reference

Description

Represents a plane 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 whether this gizmo is enabled. More...
 
Color Color = Colors.Green
 The color of the drawn plane. More...
 
float PlaneSize = 5.0f
 Defines the size of the shown gizmos. More...
 

Public Methods

void Draw (Vector3 center, Vector3 direction1, Vector3 direction2)
 Draws a plane at the given center position. More...
 
Imprint