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

Creates a new tile set.

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 TileSetDefinition Create(
	Vector3 boundsMin,
	Vector3 boundsMax,
	NMGenParams config,
	InputGeometry geom
)
Public Shared Function Create ( _
	boundsMin As Vector3, _
	boundsMax As Vector3, _
	config As NMGenParams, _
	geom As InputGeometry _
) As TileSetDefinition
public:
static TileSetDefinition^ Create(
	Vector3 boundsMin, 
	Vector3 boundsMax, 
	NMGenParams^ config, 
	InputGeometry^ geom
)

Parameters

boundsMin
Vector3
The minimum AABB bounds of the set.
boundsMax
Vector3
The maximum AABB counds of the set.
config
NMGenParams
The shared NMGen configuration.
geom
InputGeometry
The input geometry.

Return Value

A new tile set, or null on error.

Remarks

The bounds is normally based on the desired origin of the navigation mesh and the maximum bounds of the input geometry.

See Also