Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
Include | #include "Kismet/GameplayStatics.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
static void SetSoundClassDistanceScale
&40;
const UObject &42; WorldContextObject,
USoundClass &42; SoundClass,
float DistanceAttenuationScale,
float TimeSec
&41;
Remarks
Linearly interpolates the attenuation distance scale value from it's current attenuation distance override value (1.0f it not overridden) to its new attenuation distance override, over the given amount of time
- Fire and Forget.
- Not Replicated.