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