AW EVENT TERRAIN DATA
Jump to navigation
Jump to search
Minimum requirements | ||
---|---|---|
Added in version 3.3 | ||
SDK | build 24 |
AW_EVENT_TERRAIN_DATA
Description
Describes a single terrain data chunk in response to aw_terrain_query
Notes
Each call of this event include data for one terrain page.
For version 4.1 and later: The application must set AW_TERRAIN_VERSION_NEEDED to the required version. Version 1 of the terrain (pre 4.1) represented heights in short integers (16 bits) and textures in bytes (8 bits). Version 2 of terrain data represents heights in integers (32 bits) and textures in short integerts (16 bits). Version 2 is the default for version 4.1 applications and is reset to a value of 2 each entering a world.
See the terrain section for more information on manipulating terrain from the SDK.
Attributes
- AW_TERRAIN_NODE_X
- AW_TERRAIN_NODE_Z
- AW_TERRAIN_NODE_SIZE
- AW_TERRAIN_NODE_TEXTURES
- AW_TERRAIN_NODE_HEIGHTS
Examples
For a detailed example see aw_terrain_query.