FMicrosoftSpatialSound::OnInitSource

Called when a source is assigned to a voice.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IAudioSpatialization::OnInitSource()

FMicrosoftSpatialSound::OnInitSource()

References

Module

MicrosoftSpatialSound

Header

/Engine/Plugins/Runtime/MicrosoftSpatialAudio/Source/MicrosoftSpatialSound/Public/MicrosoftSpatialSoundPlugin.h

Include

#include "MicrosoftSpatialSoundPlugin.h"

Source

/Engine/Plugins/Runtime/MicrosoftSpatialAudio/Source/MicrosoftSpatialSound/Private/MicrosoftSpatialSoundPlugin.cpp

Syntax

virtual void OnInitSource
(
    const uint32 SourceId,
    const FName & AudioComponentUserId,
    USpatializationPluginSourceSettingsBase * InSettings
)

Remarks

Called when a source is assigned to a voice.