FWaterBodyManager

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyManager.h

Include

#include "WaterBodyManager.h"

Syntax

class FWaterBodyManager

Functions

Name Description

Public function

int32

 

AddWaterBodyComponent

(
    UWaterBodyComponent* InWaterBo...
)

Register any water body component upon addition to the world

Public function

void

 

Deinitialize()

Public function Const

void

 

ForEachWaterBodyComponent

(
    TFunctionRef< bool...
)

Execute a predicate function on each valid water body.

Public function Const

float

 

GetGlobalMaxWaveHeight()

Returns the maximum of all MaxWaveHeight :

Public function

void

 

Initialize

(
    UWorld* World
)

Public function

void

 

RemoveWaterBodyComponent

(
    UWaterBodyComponent* InWaterBo...
)

Unregister any water body upon removal to the world

Public function

void

 

RequestWaveDataRebuild()

Recomputes wave-related data whenever it changes on one of water bodies.