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

Creates a new builder for a multi-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(
	int tx,
	int tz,
	NMGenAssetFlag resultOptions,
	TileSetDefinition tdef,
	ProcessorSet processors
)
Public Shared Function Create ( _
	tx As Integer, _
	tz As Integer, _
	resultOptions As NMGenAssetFlag, _
	tdef As TileSetDefinition, _
	processors As ProcessorSet _
) As IncrementalBuilder
public:
static IncrementalBuilder^ Create(
	int tx, 
	int tz, 
	NMGenAssetFlag resultOptions, 
	TileSetDefinition^ tdef, 
	ProcessorSet^ processors
)

Parameters

tx
Int32
The x-index of the tile to build.
tz
Int32
The z-index of the tile to build.
resultOptions
NMGenAssetFlag
The assets to include in the result.
tdef
TileSetDefinition
The tile set definition to base the build on.
processors
ProcessorSet
The processors to apply.

Return Value

A new builder, or null on error.

Remarks

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

See Also