LineWaveGenerator::SetGeneratorRadius
Defined in:
Sets the radius of a line wave generator.
C4Water.hPrototype
void SetGeneratorRadius(float radius);
Parameters
radius |
The new wave generator radius. |
Description
The SetGeneratorRadius function sets the radius of a line 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
LineWaveGenerator::GetGeneratorRadius
