[This is preliminary documentation and is subject to change.]

Draw a simple wireframe grid on the xz-plane.

Namespace: org.critterai.u3d
Assembly: cai-util-u3d (in cai-util-u3d.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Grid(
	Vector3 origin,
	float gridSize,
	int width,
	int depth,
	Color color
)
Public Shared Sub Grid ( _
	origin As Vector3, _
	gridSize As Single, _
	width As Integer, _
	depth As Integer, _
	color As Color _
)
public:
static void Grid(
	Vector3 origin, 
	float gridSize, 
	int width, 
	int depth, 
	Color color
)

Parameters

origin
Vector3
The origin of the grid.
gridSize
Single
The grid cell size. [Limit: > 0]
width
Int32
The number of cells along the x-axis.
depth
Int32
The number of cells along the z-axis.
color
Color
The color.

See Also