struct

WaterComponent

Module
SceneTypes
Header
#include "SceneTypes/Components/WaterComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
floatsizeDefault 128.0f.
int32_tgridResolutionDefault 128.
floatwaveAmplitudeDefault 0.4f.
floatwaveLengthDefault 24.0f.
floatwaveSteepnessDefault 0.6f.
floatwaveSpeedDefault 4.0f.
floatwaveDirectionDegreesDefault 0.0f.
Vec3colorDefault Vec3(0.04f, 0.16f, 0.22f).
floatopacityDefault 0.72f.
floatdepthFadeDefault 1.5f.
floatabsorptionDensityDefault 0.35f.
floatrefractionStrengthDefault 0.5f.
boolfoamEnabledDefault true.
floatshoreFoamWidthDefault 1.0f.
floatwaterDepthWater column depth the info texture rasters under this plane. A plane has no bed to measure, so this is what it declares; 0 means "never said" and the shader keeps the screen-space thickness it always used. Default 10.0f.
std::stringbuiltFingerprint
floatwaveTimeDefault 0.0f.

Constructors

SignatureNameDescription
WaterComponent() = defaultWaterComponent

Function details

WaterComponent

C++
WaterComponent() = default
Generated from SceneTypes/Components/WaterComponent.h via scenetypes.json · Nov 4, 2026Version 1.0.0