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

Draw an axis aligned rectangle 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 Rect(
	Vector3 origin,
	float width,
	float depth,
	Color color,
	bool fill
)
Public Shared Sub Rect ( _
	origin As Vector3, _
	width As Single, _
	depth As Single, _
	color As Color, _
	fill As Boolean _
)
public:
static void Rect(
	Vector3 origin, 
	float width, 
	float depth, 
	Color color, 
	bool fill
)

Parameters

origin
Vector3
The mimimum origin.
width
Single
The width along the x-axis.
depth
Single
The depth along the z-axis.
color
Color
The color.
fill
Boolean
True if the rectangle should be filled.

See Also