CryAudio::Impl::IListener

CryAudio::Impl::IListenerabstract

#include

Public Member Functions

virtual ERequestStatus Set3DAttributes (SObject3DAttributes const &attributes)=0

Detailed Description

An implementation may use this interface to define a class for storing implementation-specific data needed for identifying and using the corresponding CryAudio::IListener object (e.g. a middleware-specific unique ID)

Member Function Documentation

◆ Set3DAttributes()

virtual ERequestStatus CryAudio::Impl::IListener::Set3DAttributes ( SObject3DAttributes const & attributes)
pure virtual

Set the world position of the listener inside the audio middleware

Parameters
attributes- a struct containing the audio listener's transformation and velocity
Returns
ERequestStatus::Success if the AudioListener's position has been successfully set, ERequestStatus::Failure otherwise