Navigation
API > API/Plugins > API/Plugins/Water
| Name | FWaterUtils |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterUtils.h |
| Include Path | #include "WaterUtils.h" |
Syntax
struct FWaterUtils
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static 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) | WaterUtils.h | |
static UTextureRenderTarget2D * GetOrCreateTransientRenderTarget2D
(
UTextureRenderTarget2D* InRenderTarget, |
Creates a transient render target of the proper size/format/... | WaterUtils.h | |
static UTextureRenderTarget2DArray * GetOrCreateTransientRenderTarget2DArray
(
UTextureRenderTarget2DArray* InRenderTarget, |
Creates a transient render target of the proper size/format/... | WaterUtils.h | |
static float GetWaterMaxFlowVelocity
(
bool bIsRenderThread |
WaterUtils.h | ||
static bool IsWaterEnabled
(
bool bIsRenderThread |
WaterUtils.h | ||
static bool IsWaterMeshEnabled
(
bool bIsRenderThread |
WaterUtils.h | ||
static bool IsWaterMeshRenderingEnabled
(
bool bIsRenderThread |
WaterUtils.h | ||
static FVector4f PackFlowData
(
float VelocityMagnitude, |
WaterUtils.h | ||
| WaterUtils.h |