CryAudio::IListener

CryAudio::IListenerabstract

A struct exposing public methods to interact with audio listeners. More...

#include

Public Member Functions

virtual void SetTransformation (CObjectTransformation const &transformation, SRequestUserData const &userData=SRequestUserData::GetEmptyObject())=0
virtual void SetName (char const *const szName, SRequestUserData const &userData=SRequestUserData::GetEmptyObject())=0

Detailed Description

A struct exposing public methods to interact with audio listeners.

Member Function Documentation

◆ SetName()

virtual void CryAudio::IListener::SetName ( char const *const szName,
SRequestUserData const & userData = SRequestUserData::GetEmptyObject()
)
pure virtual

Sets this audio listener's name. Is used only during production whenever the owning entity's name is changed to adjust corresponding audio listeners as well.

Parameters
szName- name to set.
userData- optional struct used to pass additional data to the internal request.
Returns
void

◆ SetTransformation()

virtual void CryAudio::IListener::SetTransformation ( CObjectTransformation const & transformation,
SRequestUserData const & userData = SRequestUserData::GetEmptyObject()
)
pure virtual

Sets the listener's transformation.

Parameters
transformation- constant reference to an object holding the transformation to apply.
userData- optional struct used to pass additional data to the internal request.
Returns
void