FWaterUtils

Windows
MacOS
Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterUtils.h

Include

#include "WaterUtils.h"

Syntax

struct FWaterUtils

Functions

Name Description

Public function Static

UMaterialIns...

 

GetOrCreateTransientMID

(
    UMaterialInstanceDynamic* InMI...,
    FName InMIDName,
    UMaterialInterface* InMaterial...,
    EObjectFlags InAdditionalObjectFlag...
)

Creates a transient UMaterialInstanceDynamic out of the material interface in input or returns the existing one if it's compatible (same parent material)

Public function Static

UTextureRend...

 

GetOrCreateTransientRenderTarget2D

(
    UTextureRenderTarget2D* InRend...,
    FName InRenderTargetName,
    const FIntPoint& InSize,
    ETextureRenderTargetFormat InFormat,
    const FLinearColor& InClearColor,
    bool bInAutoGenerateMipMaps
)

Creates a transient render target of the proper size/format/...

Public function Static

FGuid

 

StringToGuid

(
    const FString& InStr
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss