setRainSpawnBoxParameters
setRainSpawnBoxParameters
Description
Rain drops only spawn in a limited area around the camera. This sets parameters for the box that the rain spawns in.
Definition
setRainSpawnBoxParameters(entityId precipitationEntity, float spawnHeight, float boxWidth, float boxHeight)
Arguments
| entityId | precipitationEntity | precipitationEntity |
|---|---|---|
| float | spawnHeight | Height that rain drops spawn at. |
| float | boxWidth | Width of the spawn box. |
| float | boxHeight | Height of the spawn box. |