C4 Engine
C4 Engine API Documentation

LineWaveGenerator::GetGeneratorPosition

Defined in:  C4Water.h
Returns an endpoint position of a line wave generator.
Prototype

const Point2D& GetGeneratorPosition(int32 index) const;

Parameters
index The index of the endpoint to return. This must be 0 or 1.
Description
The GetGeneratorPosition function returns an endpoint position of a line wave in the coordinate system of the water block. The index parameter specifies which endpoint position is returned.
See Also

LineWaveGenerator::SetGeneratorPosition

LineWaveGenerator::GetGeneratorRadius

LineWaveGenerator::SetGeneratorRadius