PathEngine home previous: iArrayReceiver::receive()next: iFaceVertexBuilder::addFace()
Contents, API Reference, Interfaces, iFaceVertexBuilder

Interface iFaceVertexBuilder

Description

A callback class for use with PathEngine methods that construct face vertex mesh data.

This interface is defined in SDKRoot/code/externalAPI/i_pathengine.h.

Methods:

addFace

Adds a face (triangle) to the mesh, and returns the index of the newly added face.

addVertex

Adds a vertex to the mesh, and returns the index of the newly added vertex.

setFaceAttribute

(Optionally) sets an attribute for a face in the mesh.

startMesh

Informs the builder that calls to addVertex() and so on will follow, for a new mesh.

Example implementation

An example implementation of this interface can be found in SDKRoot/code/sampleShared/FaceVertexBuilder.h.


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iFaceVertexBuilder::addFace()