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

Creates a Wavefront format string from a triangle mesh.

Namespace: org.critterai.geom
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static string TranslateTo(
	TriangleMesh mesh,
	bool reverseWrap,
	bool invertXAxis
)
Public Shared Function TranslateTo ( _
	mesh As TriangleMesh, _
	reverseWrap As Boolean, _
	invertXAxis As Boolean _
) As String
public:
static String^ TranslateTo(
	TriangleMesh^ mesh, 
	bool reverseWrap, 
	bool invertXAxis
)

Parameters

mesh
TriangleMesh
A valid triangle mesh.
reverseWrap
Boolean
Reverse the wrap direction of the triangles.
invertXAxis
Boolean
Invert the x-axis values.

Return Value

A string representing the mesh in Wavefront format.

See Also