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

Constructor

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 NMGenAssets(
	int tx,
	int tz,
	PolyMesh polyMesh,
	PolyMeshDetail detailMesh,
	Heightfield heightfield,
	CompactHeightfield compactField,
	ContourSet contours
)
Public Sub New ( _
	tx As Integer, _
	tz As Integer, _
	polyMesh As PolyMesh, _
	detailMesh As PolyMeshDetail, _
	heightfield As Heightfield, _
	compactField As CompactHeightfield, _
	contours As ContourSet _
)
public:
NMGenAssets(
	int tx, 
	int tz, 
	PolyMesh^ polyMesh, 
	PolyMeshDetail^ detailMesh, 
	Heightfield^ heightfield, 
	CompactHeightfield^ compactField, 
	ContourSet^ contours
)

Parameters

tx
Int32
The x-index of the tile within the tile grid. (tx, tz)
tz
Int32
The z-index of the tile within the tile grid. (tx, tz)
polyMesh
PolyMesh
The polymesh.
detailMesh
PolyMeshDetail
The detail mesh.
heightfield
Heightfield
The heightfield.
compactField
CompactHeightfield
The compact field.
contours
ContourSet
The contour set.

Remarks

A 'no result' object will be created if the polyMesh parameter is null or has a polygon count of zero.

See Also