Navigation
API > API/Plugins > API/Plugins/Water
Inheritance Hierarchy
- AActor
- AWaterZone
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterZoneActor.h |
| Include | #include "WaterZoneActor.h" |
Syntax
UCLASS (Blueprintable, HideCategories=(Physics, Replication, Input, Collision))
class AWaterZone : public AActor
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UTextureRenderTarget2DArray > | WaterInfoTextureArray | ||
| int32 | WaterInfoTextureArrayNumSlices |
Constructors
| Type | Name | Description | |
|---|---|---|---|
AWaterZone
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddWaterBodyComponent
(
UWaterBodyComponent* WaterBodyComponent |
||
| void | BeginPlay () |
||
| TUniquePtr< class FWorldPartitionActorDesc > | |||
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
||
| void | ForEachWaterBodyComponent
(
TFunctionRef< bool(UWaterBodyComponent*)> Predicate |
Execute a predicate function on each valid water body within the water zone. | |
| void | GetAllDynamicWaterInfoBounds
(
TArray< FBox >& OutBounds |
Retrieves all the per-view bounds for this water zone | |
| void | GetAllDynamicWaterInfoCenters
(
TArray< FVector >& OutCenters |
Retrieves all the per-view centers for this water zone | |
| FBox | GetDynamicWaterInfoBounds
(
int32 PlayerIndex |
Retrieves the dynamic water info bounds for a specific player index. | |
| FBox | |||
| FVector | GetDynamicWaterInfoCenter
(
int32 PlayerIndex |
Retrieves the dynamic water info center for a specific player index. | |
| FVector | |||
| FVector | |||
| float | |||
| FOnWaterInfoTextureArrayCreated & | |||
| FOnWaterInfoTextureCreated & | |||
| int32 | |||
| FIntPoint | |||
| void | GetStreamingBounds
(
FBox& OutRuntimeBounds, |
||
| uint32 | |||
| FVector2f | |||
| const UWaterMeshComponent * | |||
| UWaterMeshComponent * | |||
| int32 | |||
| FBox | |||
| FBox2D | |||
| FVector2D | |||
| bool | |||
| void | MarkForRebuild
(
EWaterZoneRebuildFlags Flags, |
Mark aspects of the water zone for rebuild based on the Flags parameter. | |
| void | MarkForRebuild
(
EWaterZoneRebuildFlags Flags, |
Mark aspects of the water zone for rebuild based on the Flags parameter within a given region. | |
| void | PostLoad () |
||
| void | PostLoadSubobjects
(
FObjectInstancingGraph* OuterInstanceGraph |
||
| void | |||
| void | |||
| void | RemoveWaterBodyComponent
(
UWaterBodyComponent* WaterBodyComponent |
||
| void | SetFarMeshMaterial
(
UMaterialInterface* InFarMaterial |
||
| void | SetLocalTessellationCenter
(
const FVector& NewCenter |
||
| void | SetRenderTargetResolution
(
FIntPoint NewResolution |
||
| void | SetZoneExtent
(
FVector2D NewExtents |
||
| void | Update () |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UTextureRenderTarget2D > | WaterInfoTexture_DEPRECATED |