Function _IrrSetGrassWind

au3Irr2

au3Irr2 Function Reference

_IrrSetGrassWind

Set the grass wind effect.

#Include <au3Irrlicht2.au3>
_IrrSetGrassWind($h_Grass, $f_Strength, $f_Resolution)

 

Parameters

$h_Grass Handle to the grass node.
$f_Strength Strength of the wind.
$f_Resolution How often the effect is calculated.

 

Return Value

Success: True
Failure: False

 

Remarks

By setting the resoloution to zero the wind effect will be stopped and there will be a performance increase,
however the wind effect adds significantly to the subtle atmosphere of the scene.

 

Related

_IrrAddGrass, _IrrGetGrassDrawCount, _IrrSetGrassDensity