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

A builder for the ChunkyTriMesh class.

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public sealed class ChunkyTriMeshBuilder
Public NotInheritable Class ChunkyTriMeshBuilder
public ref class ChunkyTriMeshBuilder sealed

Members

            
 All Members  Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Build()()()()
Performs a single build step.
BuildAll()()()()
Performs the build in a single step.
ChunkTuneValue
The number of nodes the build will process in a single build step. [>= 1]
Create(TriangleMesh, array<Byte>[]()[][], Int32)
Creates a single use builder.
IsFinished
True if the build is finished.
MinAllowedTrisPerChunk
The minimum allowed triangles per chunk.
PreprocessTuneValue
The number of triangles the build will process in a single build step. [>= 1]
Result
The mesh created by the build. (Only available on successful completion.)

Remarks

The standard use case is as follows:

  1. Create the builder using Create(TriangleMesh, array<Byte>[]()[][], Int32)
  2. Call Build()()()() until it returns true.
  3. 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.

Inheritance Hierarchy

System..::..Object
  org.critterai.nmgen..::..ChunkyTriMeshBuilder

See Also