Navigation
Unreal Engine C++ API Reference > Plugins > Water
References
Module | Water |
Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyManager.h |
Include | #include "WaterBodyManager.h" |
Syntax
class FWaterBodyManager
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FWaterBodyEvent | OnWaterBodyAdded | |
![]() |
FWaterBodyEvent | OnWaterBodyRemoved |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddWaterBodyComponent
(
UWaterBodyComponent* InWaterBodyComponent |
Register any water body component upon addition to the world |
![]() |
int32 | AddWaterZone
(
AWaterZone* InWaterZone |
|
![]() |
void | Deinitialize () |
|
![]() ![]() |
void | ForEachWaterBodyComponent
(
const UWorld* World, |
Execute a predicate function on each valid water body. |
![]() ![]() |
void | ForEachWaterBodyComponent
(
TFunctionRef< bool(UWaterBodyComponent*)> Pred |
Execute a predicate function on each valid water body. |
![]() ![]() |
void | ForEachWaterZone
(
TFunctionRef< bool(AWaterZone*)> Pred |
|
![]() ![]() |
void | ForEachWaterZone
(
const UWorld* World, |
|
![]() ![]() |
float | Returns the maximum of all MaxWaveHeight : | |
![]() |
FWaterViewExtension * | ||
![]() ![]() |
bool | ||
![]() |
void | Initialize
(
UWorld* World |
|
![]() ![]() |
int32 | ||
![]() ![]() |
int32 | ||
![]() ![]() |
int32 | ||
![]() |
void | RemoveWaterBodyComponent
(
UWaterBodyComponent* InWaterBodyComponent |
Unregister any water body upon removal to the world |
![]() |
void | RemoveWaterZone
(
AWaterZone* InWaterZone |
|
![]() |
void | Recomputes water gpu data whenever it changes on one of the managed water types. | |
![]() |
void | Recomputes wave-related data whenever it changes on one of water bodies. | |
![]() |
void | Shrink () |
Shrinks the sparse array storage for water body components and water zones. |