Module |
|
Header |
/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyTypes.h |
Include |
#include "WaterBodyTypes.h" |
struct FWaveInfo
Struct holding wave computation result :
Name | Description | ||
---|---|---|---|
|
float |
AttenuationFactor |
Factor between 0 and 1 to dampen the waves (e.g. near the shore, based on a mask, etc.) |
|
float |
Height |
Current wave amplitude at this location (includes AttenuationFactor dampening) |
|
float |
MaxHeight |
Maximum wave amplitude at this location (includes AttenuationFactor dampening) |
|
Normal |
Current wave normal at this location (includes AttenuationFactor dampening) |
|
|
float |
ReferenceTime |
Time that has been used in the wave computation |