Gizmos are used to give visual debugging or setup aids in the scene view.
color | Sets the color for the gizmos that will be drawn next. |
---|---|
matrix | Set the gizmo matrix used to draw all gizmos. |
DrawCube | Draw a solid box with center and size. |
---|---|
DrawFrustum | Draw a camera frustum using the currently set Gizmos.matrix for it's location and rotation. |
DrawGUITexture | Draw a texture in the scene. |
DrawIcon | Draw an icon at a position in the scene view. |
DrawLine | Draws a line starting at from towards to. |
DrawRay | Draws a ray starting at from to from + direction. |
DrawSphere | Draws a solid sphere with center and radius. |
DrawWireCube | Draw a wireframe box with center and size. |
DrawWireSphere | Draws a wireframe sphere with center and radius. |