Category: Objects
/ Status
Since engine version: 5.1 OC
GetContact
Description
Determines on which side individual or all vertices of an object are touching the landscape. Directions are specified using CNAT values.
Syntax
int GetContact(int index, int dwCNAT);
Parameters
- index:
- Index of the vertex to be checked. -1 checks all vertices and returns the result as a bitmask of values combined with OR.
- dwCNAT:
- [opt] Bit mask of CNAT values which determine which directions to check. If not specified, all directions are checked.


