[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++|
public sealed class ChunkyTriMeshBuilder
Public NotInheritable Class ChunkyTriMeshBuilder
public ref class ChunkyTriMeshBuilder sealed
XNA Framework Only
.NET Compact Framework Only
Performs a single build step.
Performs the build in a single step.
The number of nodes the build will process in a single build step. [>= 1]
|Create(TriangleMesh, array<Byte>(), Int32)|
Creates a single use builder.
True if the build is finished.
The minimum allowed triangles per chunk.
The number of triangles the build will process in a single build step. [>= 1]
The mesh created by the build. (Only available on successful completion.)
The standard use case is as follows:
- Create the builder using Create(TriangleMesh, array<Byte>(), Int32)
- Call Build()()()() until it returns true.
- Get the result from Result.
A builder object cannot be re-used. (Single use.)
The builder is safe to run on a separate thread as long as the objects used to create the builder are not mutated while the build is in-progress.