Query¶
Query(int, float, Vector3[], Vector3[])¶
Query water depth data at a set of points.
Declaration¶
int Query(int hash, float minimumLength, Vector3[] points, Vector3[] results)
Parameters¶
hash |
Unique ID for calling code. Typically acquired by calling GetHashCode. |
minimumLength |
The minimum spatial length of the object, such as the width of a boat. Useful for filtering out detail when not needed. Set to zero to get full available detail. |
points |
The world space points that will be queried. |
results |
Water depth and distance to shoreline (XY respectively). Both are signed. |
Return¶
The status of the query.