FWaveInfo

Struct holding wave computation result :

Windows
MacOS
Linux

References

Module

Water

Header

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

Include

#include "WaterBodyTypes.h"

Syntax

struct FWaveInfo

Remarks

Struct holding wave computation result :

Variables

Name Description

Public variable

float

 

AttenuationFactor

Factor between 0 and 1 to dampen the waves (e.g. near the shore, based on a mask, etc.)

Public variable

float

 

Height

Current wave amplitude at this location (includes AttenuationFactor dampening)

Public variable

float

 

MaxHeight

Maximum wave amplitude at this location (includes AttenuationFactor dampening)

Public variable

FVector

 

Normal

Current wave normal at this location (includes AttenuationFactor dampening)

Public variable

float

 

ReferenceTime

Time that has been used in the wave computation

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