FWaveInfo

Struct holding wave computation result :

Choose your operating system:

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