Contents, API Reference, Interfaces, iMesh, getSurfaceType
iMesh::getSurfaceType()
Description
Queries for the surface type value associated with the given position on a ground mesh.
Syntax
tSigned32 getSurfaceType(const cPosition& position) const; |
Parameters
| position | |
This must be a valid cPosition on this mesh.
|
Return Value
The value of the surface type attribute for the ground at the specified position.
Remarks
Surface types can be applied to faces by specifying the PE_FaceAttribute_SurfaceTyoe
face attribute
when building a ground mesh.