Navigation
API > API/Plugins > API/Plugins/Water > API/Plugins/Water/UWaterBodyComponent
Description
Computes the attenuation factor to apply to the raw wave perturbation. Attenuates : normal/wave height/max wave height.
| Name | GetWaveAttenuationFactor |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyComponent.h |
| Include Path | #include "WaterBodyComponent.h" |
| Source | /Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterBodyComponent.cpp |
virtual float GetWaveAttenuationFactor
(
const FVector & InPosition,
float InWaterDepth
) const