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

Applied the area to all spans within the specified cylinder.

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool MarkCylinderArea(
	BuildContext context,
	Vector3 centerBase,
	float radius,
	float height,
	byte area
)
Public Function MarkCylinderArea ( _
	context As BuildContext, _
	centerBase As Vector3, _
	radius As Single, _
	height As Single, _
	area As Byte _
) As Boolean
public:
bool MarkCylinderArea(
	BuildContext^ context, 
	Vector3 centerBase, 
	float radius, 
	float height, 
	unsigned char area
)

Parameters

context
BuildContext
The context to use duing the operation.
centerBase
Vector3
The center of the base of the cylinder.
radius
Single
The radius of the cylinder.
height
Single
The height of the cylinder.
area
Byte
The area to apply.

Return Value

True if the operation completed successfully.

Remarks

The method will return false if the cylinder is completely outside of the heightfield.

See Also