Contents, API Reference, Interfaces, iGround, getSurfaceType
iGround::getSurfaceType()
Description
Queries for the surface type value associated with the given position on a ground mesh.
Syntax
int32_t getSurfaceType(const cPosition& position) const; |
Parameters
| position | |
This must be a valid cPosition on this ground.
|
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.
C# Mapping
int getSurfaceType(PathEngine.Position position); |
Java Mapping
int getSurfaceType(Position position);
|
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | | next: iGround::hasRefs() |