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 SetMaxAudioChannelsScaled
&40;
const UObject &42; WorldContextObject,
float MaxChannelCountScale
&41;
Remarks
Sets the max number of voices (also known as "channels") dynamically by percentage. E.g. if you want to temporarily reduce voice count by 50%, use 0.50. Later, you can return to the original max voice count by using 1.0.
Parameters
Name | Description |
---|---|
MaxChannelCountScale | The percentage of the original voice count to set the max number of voices to |