[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)
|C#||Visual Basic||Visual C++|
XNA Framework Only
.NET Compact Framework Only
The AABB border size applied during the build of the mesh. [Units: XZCellSize]
The world space maximum bounds of the mesh's AABB.
The world space minimum bounds of the mesh's AABB.
|Build(BuildContext, ContourSet, Int32, Int32, Int32, Int32)|
Builds polygon mesh from the provided contours.
Creates a polygon mesh from the data generated by the GetSerializedData(Boolean) method.
|Create(Int32, Int32, Int32)|
Constructs an object with all buffers allocated and ready to load with data. (See: Load(PolyMeshData))
Gets the data from the mesh buffers.
Loads the data from the mesh buffers into the data object.
Gets serialization data for the object.
Gets a serialized version of the mesh that can be used to recreate it later.
True if the object has been disposed and should no longer be used.(Overrides ManagedObject..::..IsDisposed.)
Loads the data into the mesh buffers, overwriting existing content.
The maximum number of polygons the polygon buffer can hold.
The maximum number of vertices the vertex buffer can hold.
The maximum number of vertices per polygon.
Represents an index that does not point to anything.
The number of polygons defined by the mesh.
Frees all resources and marks the object as disposed.(Overrides ManagedObject..::..RequestDisposal()()()().)
The number of vertices in the vertex array.
The minimum floor to 'ceiling' height used to build the polygon mesh. [Units: World]
The radius used to erode the walkable area of the mesh. [Units: World]
The maximum traversable ledge height used to build the polygon mesh. [Units: World]
The xz-plane size of the cells that form the mesh field.
The y-axis size of the cells that form the mesh field.
Warning: The serializable attribute and interface will be removed in v0.5. Use GetSerializedData(Boolean) instead.
Represents a mesh of potentially overlapping convex polygons of between three and MaxVertsPerPoly vertices. The mesh exists within the context of an axis-aligned bounding box (AABB) with vertices laid out in an evenly spaced grid based on xz-plane and y-axis cells.
This class is moslty opaque. The PolyMeshData class provides the ability to inspect and update the content.
This class is not compatible with Unity serialization. The GetSerializedData(Boolean) method can be used for serialization within Unity.
Behavior is undefined if used after disposal.