C4 Engine
C4 Engine API Documentation

SoundMgr::GetListenerTransformable

Defined in:  C4Sound.h
Returns the listener's 3D transform.
Prototype

const Transformable *GetListenerTransformable(voidconst;

Description
The GetListenerTransformable function returns a pointer to the listener's 3D transform. The 3D transform is used when performing spatialization for all sounds that are placed in 3D space. Initially, the listener has no 3D transform, and the pointer returns by the GetListenerTransformable function is nullptr.
See Also

SoundMgr::SetListenerTransformable

Sound::GetSoundTransformable

Sound::SetSoundTransformable

Transformable