Torque Game EngineTorque Game Engine Documentation
Version 1.3.x

PrecipitationData

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 NameTypeDefault ValueDescription
soundProfileAudioProfilePtrNULLPoints 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.
typeInteger0 
maxSizeFloat1.0 
materialListStringNULL 
sizeXFloat1.0 
sizeYFloat1.0 
movingBoxPerFloat(uninitialized) 
divHeightValFloat(uninitialized) 
sizeBigBoxFloat(uninitialized) 
topBoxSpeedFloat(uninitialized) 
frontBoxSpeedFloat(uninitialized) 
topBoxDrawPerFloat(uninitialized) 
bottomDrawHeightFloat(uninitialized) 
skipIfPerFloat(uninitialized) 
bottomSpeedPerFloat(uninitialized) 
frontSpeedPerFloat(uninitialized) 
frontRadiusPerFloat(uninitialized) 

Again, this documentation is incomplete because the Precipitation codebase may be updated. In the next section, we examine ExplosionData.