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

Creates a new builder for a single-tile mesh build.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IncrementalBuilder Create(
	NMGenParams buildConfig,
	NMGenAssetFlag resultOptions,
	InputGeometry geometry,
	ProcessorSet processors
)
Public Shared Function Create ( _
	buildConfig As NMGenParams, _
	resultOptions As NMGenAssetFlag, _
	geometry As InputGeometry, _
	processors As ProcessorSet _
) As IncrementalBuilder
public:
static IncrementalBuilder^ Create(
	NMGenParams^ buildConfig, 
	NMGenAssetFlag resultOptions, 
	InputGeometry^ geometry, 
	ProcessorSet^ processors
)

Parameters

buildConfig
NMGenParams
The build configuration.
resultOptions
NMGenAssetFlag
The assets to include in the result.
geometry
InputGeometry
The input geometry.
processors
ProcessorSet
The processors to apply.

Return Value

A new builder, or null on error.

Remarks

The bounds of the tile will be based on the geometry.

Will return null if a processor requires the the detail mesh but the detail mesh is not included in the result options.

See Also