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

Adds a single triangle.

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 void AddTriangle(
	Vector3 vertA,
	Vector3 vertB,
	Vector3 vertC,
	byte area
)
Public Sub AddTriangle ( _
	vertA As Vector3, _
	vertB As Vector3, _
	vertC As Vector3, _
	area As Byte _
)
public:
void AddTriangle(
	Vector3 vertA, 
	Vector3 vertB, 
	Vector3 vertC, 
	unsigned char area
)

Parameters

vertA
Vector3
Vertex A of triangle ABC.
vertB
Vector3
Vertex B of triangle ABC.
vertC
Vector3
Vertex C of triangle ABC.
area
Byte
The triangle area.

See Also