Navigation
Unreal Engine C++ API Reference > Plugins > Water > UWaterWavesBase
- UWaterWavesBase::GetWaveAttenuationFactor()
- UWaterWavesAssetReference::GetWaveAttenuationFactor()
- UGerstnerWaterWaves::GetWaveAttenuationFactor()
References
Module | Water |
Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterWaves.h |
Include | #include "WaterWaves.h" |
virtual float GetWaveAttenuationFactor
&40;
const FVector & InPosition,
float InWaterDepth,
float InTargetWaveMaskDepth
&41; const
Remarks
Computes the attenuation factor to apply to the raw wave perturbation. Attenuates : normal/wave height/max wave height.