FAudioDevice::SetListener

Sets the details about the listener

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDevice.h

Include

#include "AudioDevice.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioDevice.cpp

Syntax

void SetListener
(
    UWorld * World,
    int32 InListenerIndex,
    const FTransform & ListenerTransform,
    float InDeltaSeconds
)

Remarks

Sets the details about the listener

Parameters

Parameter

Description

World

The world the listener is being set on.

ListenerIndex

The index of the listener

ListenerTransform

The listener's world transform

DeltaSeconds

The amount of time over which velocity should be calculated. If 0, then velocity will not be calculated.

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