Navigation
API > API/Plugins > API/Plugins/Water
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- AWaterZone
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterZoneActor.h |
| Include | #include "WaterZoneActor.h" |
Syntax
UCLASS&40;Blueprintable, HideCategories&61;&40;Physics, Replication, Input, Collision&41;&41;
class AWaterZone : public AActor
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UTextureRenderTarget2D > | WaterInfoTexture |
Constructors
| Type | Name | Description | |
|---|---|---|---|
AWaterZone
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddWaterBodyComponent
(
UWaterBodyComponent* WaterBodyComponent |
||
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| void | ForEachWaterBodyComponent
(
TFunctionRef< bool(UWaterBodyComponent*)> Predicate |
Execute a predicate function on each valid water body within the water zone. | |
| FVector | |||
| FVector | |||
| float | |||
| int32 | |||
| FIntPoint | |||
| uint32 | |||
| FVector2f | |||
| UWaterMeshComponent * | |||
| const UWaterMeshComponent * | |||
| FBox | |||
| FBox2D | |||
| FVector2D | |||
| bool | |||
| void | MarkForRebuild
(
EWaterZoneRebuildFlags Flags |
||
| void | RemoveWaterBodyComponent
(
UWaterBodyComponent* WaterBodyComponent |
||
| void | SetLocalTessellationCenter
(
const FVector& NewCenter |
||
| void | SetRenderTargetResolution
(
FIntPoint NewResolution |
||
| void | SetZoneExtent
(
FVector2D NewExtents |
||
| void | Update () |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Overridable native event for when play begins for this actor. | |
| TUniquePtr< class FWorldPartitionActorDesc > | Creates an uninitialized actor descriptor from this actor. Meant to be called on the class CDO. | ||
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
Overridable function called whenever this actor is being removed from a level | |
| FBox | Returns the location and the bounding box of all components that make up this Actor. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PostLoadSubobjects
(
FObjectInstancingGraph* OuterInstanceGraph |
Instances components for objects being loaded from disk, if necessary. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | Function renamed to GetDynamicWaterMeshCenter | ||
| FVector | Function renamed to GetDynamicWaterMeshExtent | ||
| bool | Function renamed to IsLocalTessellationEnabled. | ||
| void | SetTessellatedWaterMeshCenter
(
FVector NewCenter |
Function renamed to SetLocalTessellationCenter |