AWaterBody::GetWaveAttenuationFactor

Computes the attenuation factor to apply to the raw wave perturbation.

Windows
MacOS
Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyActor.h

Include

#include "WaterBodyActor.h"

Source

/Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterBodyActor.cpp

Syntax

virtual float GetWaveAttenuationFactor
(
    const FVector & InPosition,
    float InWaterDepth
) const

Remarks

Computes the attenuation factor to apply to the raw wave perturbation. Attenuates : normal/wave height/max wave height.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss