Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyTypes.h |
Include |
#include "WaterBodyTypes.h" |
Source |
/Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterBodyTypes.cpp |
float GetWaveAttenuationFactor
(
const FVector & InPosition,
float InWaterDepth
) const
Computes the attenuation factor to apply to the raw wave perturbation. Attenuates : normal/wave height/max wave height.