Skip to main content
Skip to main content

setRainSpawnVelocity

setRainSpawnVelocity

Description

Set spawn velocity of rain drops. The horizontal (x and z) components can be further modified during simulation by the wind force and turbulence.

Definition

setRainSpawnVelocity(entityId precipitationEntity, float velocityX, float velocityY, float velocityZ)

Arguments

entityIdprecipitationEntityprecipitationEntity
floatvelocityXx ('right') component of spawn velocity of rain drops
floatvelocityYy ('up') component of spawn velocity of rain drops
floatvelocityZz ('forward') component of spawn velocity of rain drops