[This is preliminary documentation and is subject to change.]
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)
XNA Framework Only
.NET Compact Framework Only
|PolyMeshDetailData(Int32, Int32, Int32)|
|CanFit(Int32, Int32, Int32)|
Checks the size of the buffers to see if they are large enough to hold the specified data.
The sub-mesh count. [Limit: > 0]
The sub-mesh data. [(baseVertIndex, vertCount, baseTriIndex, triCount) * meshCount] [Size: >= 4 * meshCount]
|Reset(Int32, Int32, Int32)|
Clears all object data and resizes the buffers.
The triangle count. [Limit > 0]
The mesh triangles. [vertIndexA, vertIndexB, vertIndexC, flag) * triCount] [Size: >= 4 * triCount]
The vertex count. [Limit: >= 3]
The mesh vertices. [Length: >= vertCount]
Warning: The serializable attributewill be removed in v0.5. Use GetSerializedData(Boolean) instead of serializing this object.
The detail mesh is made up of triangle sub-meshes which provide extra height detail for each polygon in its assoicated polygon mesh.
See the individual field definitions for details related to the structure of the mesh.
Implemented as a class with public fields in order to support Unity serialization. Care must be taken not to set the fields to invalid values.