C4 Engine
C4 Engine API Documentation

class WaterGeometry

Defined in:  C4Water.h
The WaterGeometry class represents a water geometry node in a world.
Definition

class WaterGeometry final : public Geometry, public ListElement<WaterGeometry>

Constructor

WaterGeometry(WaterBlock *block, const Integer2D& coord);

Parameters
block The water block to which the geometry belongs.
coord The coordinates of the water geometry within the water block.
Description
The WaterGeometry class represents a single water geometry node within a block of many water geometries that make up a complete body of water.
Base Classes
Geometry Water is a specific type of geometry.
ListElement<WaterGeometry> Used internally by the Physics Manager.
See Also

WaterGeometryObject

WaterController