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

Creates a standard NavmeshTileBuildData object from the provided parameters.

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 NavmeshTileBuildData GetBuildData(
	BuildContext context,
	int tx,
	int tz,
	PolyMeshData polyMesh,
	PolyMeshDetailData detailMesh,
	ConnectionSet connections,
	bool bvTreeEnabled
)
Public Shared Function GetBuildData ( _
	context As BuildContext, _
	tx As Integer, _
	tz As Integer, _
	polyMesh As PolyMeshData, _
	detailMesh As PolyMeshDetailData, _
	connections As ConnectionSet, _
	bvTreeEnabled As Boolean _
) As NavmeshTileBuildData
public:
static NavmeshTileBuildData^ GetBuildData(
	BuildContext^ context, 
	int tx, 
	int tz, 
	PolyMeshData^ polyMesh, 
	PolyMeshDetailData^ detailMesh, 
	ConnectionSet^ connections, 
	bool bvTreeEnabled
)

Parameters

context
BuildContext
The build context.
tx
Int32
The x-index of the tile.
tz
Int32
The z-index of the tile.
polyMesh
PolyMeshData
The polygon mesh data.
detailMesh
PolyMeshDetailData
The detail mesh data. (Optional)
connections
ConnectionSet
The off-mesh connections. (Null allowed.)
bvTreeEnabled
Boolean
True if bounding volumes should be generated.

Return Value

The tile build data, or null on error.

Remarks

Errors will be logged to the build context.

See Also