PathEngine home | previous: | next: |
Returns a normal vector for a face in the underlying 3d mesh.
void get3DFaceNormal(int32_t faceIndex, float& resultX, float& resultY, float& resultZ) const; |
faceIndex | The index of the 3d face to return the normal for. | ||
resultX | Returns the X coordinate of the normal. | ||
resultY | Returns the Y coordinate of the normal. | ||
resultZ | Returns the Y coordinate of the normal. |
Use
The returned vector is unit length and points in a direction up from the ground.
void get3DFaceNormal(int faceIndex, out float resultX, out float resultY, out float resultZ); |
void get3DFaceNormal(int faceIndex, float_OutArgument resultX, float_OutArgument resultY, float_OutArgument resultZ); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |