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

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

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.

See Also