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

Used to compile input geometry in a dynamic fashion.

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 sealed class InputGeometryCompiler
Public NotInheritable Class InputGeometryCompiler
public ref class InputGeometryCompiler sealed

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
InputGeometryCompiler(Int32, Int32)
Constructor.
AddTriangle(Vector3, Vector3, Vector3, Byte)
Adds a single triangle.
AddTriangles(TriangleMesh, array<Byte>[]()[][])
Adds a triangle mesh.
AddTriangles(array<Vector3>[]()[][], Int32, array<Int32>[]()[][], array<Byte>[]()[][], Int32)
Adds an arbitrary group of triangles.
CleanTriangles()()()()
Checks for an removes invalid triangles.
CreateGeometry(array<Byte>[]()[][]%)
Creates geometry from the compiled data.
Reset()()()()
Resets the compiler to an empty state.
TriCount
The number of loaded triangles.
VertCount
The number of loaded vertices.

Remarks

The standard use case is to use this class to compile input geometry from various sources, then use InputGeometryBuilder to create the finalized input geometry for the build.

Inheritance Hierarchy

System..::..Object
  org.critterai.nmbuild..::..InputGeometryCompiler

See Also