class

FWaterTerrainCarve

Module
Game
Header
#include "Water/WaterTerrainCarve.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
FWaterCarveRequestBuildRiverCarveCuts the river's channel into the heightfield: the bed sits at the spline's surface height minus its authored depth, and the banks ramp back to the untouched terrain over bankWidth metres beyond the water's edge.
FWaterCarveRequestBuildLakeCarve

Function details

BuildRiverCarve

C++
static FWaterCarveRequest BuildRiverCarve(const std::vector<FWaterSplinePoint>& points, int32_t segmentsPerSpan, const Vec3& bodyOrigin, const FWaterCarveTerrain& terrain, float bankWidth)

Cuts the river's channel into the heightfield: the bed sits at the spline's surface height minus its authored depth, and the banks ramp back to the untouched terrain over bankWidth metres beyond the water's edge. Nothing is applied — the caller decides how to blend and when to rebuild.

BuildLakeCarve

C++
static FWaterCarveRequest BuildLakeCarve(const std::vector<FWaterSplinePoint>& points, const Vec3& bodyOrigin, const FWaterCarveTerrain& terrain, float bankWidth)
Generated from Water/WaterTerrainCarve.h via game.json · Nov 5, 2026Version 1.0.0