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

Draw a simple wireframe cylinder with four risers.

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 Cylinder(
	Vector3 position,
	float radius,
	float height,
	bool includeHalf,
	Color color
)
Public Shared Sub Cylinder ( _
	position As Vector3, _
	radius As Single, _
	height As Single, _
	includeHalf As Boolean, _
	color As Color _
)
public:
static void Cylinder(
	Vector3 position, 
	float radius, 
	float height, 
	bool includeHalf, 
	Color color
)

Parameters

position
Vector3
The center point of the cylinder base.
radius
Single
The radius.
height
Single
The cylinder height, relative to the base.
includeHalf
Boolean
True if a circle should be drawn halfway from the base to the top of the cyclinder.
color
Color
The wireframe color.

See Also