Navigation
API > API/Plugins > API/Plugins/Water
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
| Type | 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) | |
| FVector | Normal | Current wave normal at this location (includes AttenuationFactor dampening) | |
| float | ReferenceTime | Time that has been used in the wave computation |