AW_TERRAIN_NODE_HEIGHTS |
|
Type
Data Description
This attribute is new in build 24 of the SDK and requires version 3.3 or later of the world server. AW_TERRAIN_NODE_HEIGHTS contains an array of 16-bit (short) elevation values for a terrain node. The number of values present depends on the value of AW_TERRAIN_NODE_HEIGHT_COUNT and will be either 1, in the case of a "flat" node, or 64, in the case of a complete 8 by 8 node. This attribute is queried via the method aw_data. Since aw_data returns a char *, it should be cast to a short * in order to access the height data as an array of shorts. See aw_terrain_query for an example of how to access this attribute. Terrain height values are in centimeters and range in value from -32767 to +32766. See terrain for more information. Used By |