Navigation
API > API/Plugins > API/Plugins/Water
Inheritance Hierarchy
- UActorComponent
- UWaterTerrainComponent
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterTerrainComponent.h |
| Include | #include "WaterTerrainComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent))
class UWaterTerrainComponent : public UActorComponent
Remarks
Water Terrain Component can be attached to any actor with primitive components to allow them to render into a Water Info Texture as the terrain.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSoftObjectPtr< AWaterZone > | WaterZoneOverride | By default, the terrain component will be rendering into any overlapping water zone. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AffectsWaterZone
(
AWaterZone* WaterZone |
||
| FBox2D | |||
| TArray< UPrimitiveComponent * > | Returns a list of all Primitive Components that should render as the terrain | ||
| void | OnRegister () |
||
| void | OnUnregister () |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |