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

Applies the area to all spans within the specified bounding box. (AABB)

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 MarkBoxArea(
	BuildContext context,
	Vector3 boundsMin,
	Vector3 boundsMax,
	byte area
)
Public Function MarkBoxArea ( _
	context As BuildContext, _
	boundsMin As Vector3, _
	boundsMax As Vector3, _
	area As Byte _
) As Boolean
public:
bool MarkBoxArea(
	BuildContext^ context, 
	Vector3 boundsMin, 
	Vector3 boundsMax, 
	unsigned char area
)

Parameters

context
BuildContext
The context to use duing the operation.
boundsMin
Vector3
The minimum bounds of the AABB.
boundsMax
Vector3
The maximum bounds of the AABB.
area
Byte
The area to apply.

Return Value

True if the operation completed successfully.

Remarks

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

See Also