APlayerController::SetAudioListenerOverride

Used to override the default positioning of the audio listener

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

void SetAudioListenerOverride
(
    USceneComponent * AttachToComponent,
    FVector Location,
    FRotator Rotation
)

Remarks

Used to override the default positioning of the audio listener

Parameters

Parameter

Description

AttachToComponent

Optional component to attach the audio listener to

Location

Depending on whether Component is attached this is either an offset from its location or an absolute position

Rotation

Depending on whether Component is attached this is either an offset from its rotation or an absolute rotation

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