Hey there,
I am currently working on getting RTPC values from Wwise and use them in UE.
So far I have created a wrapper function, as the GetRTPCValue() function is hidden in the (vanilla) integration.
Wwise uses AkGameplayStatics to make the static functions blueprint-callable and this is where I tried to make my function work.
Here’s the code:
header file:
UFUNCTION(BlueprintCallable, Category = "Audiokinetic")
static void GetGlobalRTPCValue(const FName RTPC, float & value);
source file:
void UAkGameplayStatics::GetGlobalRTPCValue(const FName RTPC, float & value)
{
FAkAudioDevice * AudioDevice = FAkAudioDevice::Get();
if (AudioDevice && RTPC.IsValid())
{
AudioDevice->GetGlobalRTPCValue(*RTPC.ToString(), value);
}
}
However, I can not find it in the blueprint editor, though the other functions show up (e.g. Set RTPCValue)
Thanks in advance.