PointWaveGenerator::SetGeneratorRadius
Defined in:
Sets the radius of a point wave generator.
C4Water.h
Prototype
void SetGeneratorRadius(float radius);
Parameters
radius |
The new wave generator radius. |
Description
The SetGeneratorRadius
function sets the radius of a point wave generator to that specified by the radius
parameter. The radius determines the area inside which vertices on the water surface are affected by the wave generator.If the radius of a wave generator is changed after it is already running, then the
WaveGenerator::InvalidateWaveGenerator
function should also be called to indicate that the wave generator needs to be updated.
See Also
PointWaveGenerator::GetGeneratorRadius