Torque Game Engine DocumentationVersion 1.3.x |
PrecipitationData also derives from GameBaseData, and is another weather-related datablock. At present, the engine's Precipitation code is fairly opaque, and may be updated in the future. As such, the documentation for this datablock is very sparse and much less complete than for other datablocks in this document. The fields are simply listed below for reference.
Table D.15. PrecipitationData Member Fields
| Field Name | Type | Default Value | Description |
|---|---|---|---|
| soundProfile | AudioProfilePtr | NULL | Points to the audio profile used to generate sound for the precipitation. Must adhere to the semantics associated with the AudioProfilePtr datatype, as defined in the engine. |
| type | Integer | 0 | |
| maxSize | Float | 1.0 | |
| materialList | String | NULL | |
| sizeX | Float | 1.0 | |
| sizeY | Float | 1.0 | |
| movingBoxPer | Float | (uninitialized) | |
| divHeightVal | Float | (uninitialized) | |
| sizeBigBox | Float | (uninitialized) | |
| topBoxSpeed | Float | (uninitialized) | |
| frontBoxSpeed | Float | (uninitialized) | |
| topBoxDrawPer | Float | (uninitialized) | |
| bottomDrawHeight | Float | (uninitialized) | |
| skipIfPer | Float | (uninitialized) | |
| bottomSpeedPer | Float | (uninitialized) | |
| frontSpeedPer | Float | (uninitialized) | |
| frontRadiusPer | Float | (uninitialized) |
Again, this documentation is incomplete because the Precipitation codebase may be updated. In the next section, we examine ExplosionData.