C4 Engine Terathon Software C4 Engine API Documentation

• Sound Manager

API Links
Developer Links

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::GetTransformable

Sound::SetTransformable

Transformable