PointWaveGenerator::SetGeneratorPosition
Defined in:
Sets the position of a point wave generator.
C4Water.h
Prototype
void SetGeneratorPosition(const Point2D& position);
Parameters
position |
The new wave generator position. |
Description
The SetGeneratorPosition
function sets the position of a point wave generator to that specified by the position
parameter. The position coordinates should be specified in the local coordinate system of the water block to which the generator pertains.If the position 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::GetGeneratorPosition