Contents, API Reference, Interfaces, iFaceVertexBuilder, setFaceAttribute
iFaceVertexBuilder::setFaceAttribute()
Description
(Optionally) sets an attribute for a face in the mesh.
Syntax
void setFaceAttribute(int32_t faceIndex, int32_t attributeType, int32_t attributeValue); |
Parameters
| faceIndex | |
The index of the face on which an attribute is to be set.
(Must be a valid face index for the mesh currently being built, i.e. this index was previously returned by the addFace method.)
|
| attributeType | |
An integer value specifying the type of the attribute being set.
|
| attributeValue | |
The value to set the specified attribute to, for the specified face.
|
Remarks
This method will only be called, by PathEngine,
when attribute values are non-zero.
Attributes which are not set explicitly with this method
should then default to zero.
C# Mapping
void setFaceAttribute(int faceIndex, int attributeType, int attributeValue); |
Java Mapping
void setFaceAttribute(int faceIndex, int attributeType, int attributeValue);
|