class PointWaveGenerator
Defined in: C4Water.h
The PointWaveGenerator class represents a wave generator that generates a circular wave about a single point.
Definition
class PointWaveGenerator : public WaveGenerator
Member Functions
Constructor
PointWaveGenerator(const Point2D& position, float radius, float delta, int32 time);
Parameters
position |
The block-relative position of the center of the waves.
|
radius |
The radius of the area affected by the wave generator.
|
delta |
The difference in elevation applied to the water surface during each time step. This can be positive or negative.
|
time |
The number of time steps for which the wave generator runs. If this is zero, then the wave generator never stops.
|
Description
The PointWaveGenerator class generates a circular wave about a single point in a water block.
Base Classes
WaveGenerator |
A PointWaveGenerator is a specific type of wave generator.
|
See Also
PointWaveGenerator
LineWaveGenerator
|