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

Builds a layer set from the CompactHeightfield.

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 static HeightfieldLayerSet Build(
	BuildContext context,
	CompactHeightfield field
)
Public Shared Function Build ( _
	context As BuildContext, _
	field As CompactHeightfield _
) As HeightfieldLayerSet
public:
static HeightfieldLayerSet^ Build(
	BuildContext^ context, 
	CompactHeightfield^ field
)

Parameters

context
BuildContext
The context to use duing the operation.
field
CompactHeightfield
The source field.

Return Value

The resulting layer set, or null on failure.

See Also