Navigation
API > API/Plugins > API/Plugins/Water
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyManager.h |
| Include | #include "WaterBodyManager.h" |
Syntax
class FWaterBodyManager
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddWaterBodyComponent
(
UWaterBodyComponent* InWaterBodyComponent |
Register any water body component upon addition to the world | |
| void | Deinitialize () |
||
| void | ForEachWaterBodyComponent
(
TFunctionRef< bool(UWaterBodyComponent*)> Pred |
Execute a predicate function on each valid water body. | |
| void | ForEachWaterBodyComponent
(
const UWorld* World, |
Execute a predicate function on each valid water body. | |
| float | Returns the maximum of all MaxWaveHeight : | ||
| bool | |||
| void | Initialize
(
UWorld* World |
||
| void | RemoveWaterBodyComponent
(
UWaterBodyComponent* InWaterBodyComponent |
Unregister any water body upon removal to the world | |
| void | Recomputes wave-related data whenever it changes on one of water bodies. |