Navigation
API > API/Plugins > API/Plugins/Water
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterUtils.h |
| Include | #include "WaterUtils.h" |
Syntax
struct FWaterUtils
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMaterialInstanceDynamic * | GetOrCreateTransientMID
(
UMaterialInstanceDynamic* InMID, |
Creates a transient UMaterialInstanceDynamic out of the material interface in input or returns the existing one if it's compatible (same parent material) | |
| UTextureRenderTarget2D * | GetOrCreateTransientRenderTarget2D
(
UTextureRenderTarget2D* InRenderTarget, |
Creates a transient render target of the proper size/format/... | |
| UTextureRenderTarget2DArray * | GetOrCreateTransientRenderTarget2DArray
(
UTextureRenderTarget2DArray* InRenderTarget, |
Creates a transient render target of the proper size/format/... | |
| float | GetWaterMaxFlowVelocity
(
bool bIsRenderThread |
||
| bool | IsWaterEnabled
(
bool bIsRenderThread |
||
| bool | IsWaterMeshEnabled
(
bool bIsRenderThread |
||
| bool | IsWaterMeshRenderingEnabled
(
bool bIsRenderThread |
||
| FVector4f | PackFlowData
(
float VelocityMagnitude, |
||
| FGuid | StringToGuid
(
const FString& InStr |