SFXListener Class Reference

#include <sfxListener.h>

List of all members.

Public Member Functions

 SFXListener ()
 The constructor.
 ~SFXListener ()
 The non-virtual destructor.
void setTransform (const MatrixF &transform)
const MatrixFgetTransform () const
void setVelocity (const VectorF &velocity)
const VectorFgetVelocity () const
void sortSources (SFXSourceVector &sources)

Static Protected Member Functions

static S32 QSORT_CALLBACK sourceCompare (const void *item1, const void *item2)
 Used to sort sources by attenuated volume and channel priority.

Protected Attributes

MatrixF mTransform
 The current position and rotation.
VectorF mVelocity
 The velocity.


Constructor & Destructor Documentation

SFXListener::SFXListener (  ) 

The constructor.

SFXListener::~SFXListener (  ) 

The non-virtual destructor.

.. because you shouldn't need to overload this class.


Member Function Documentation

static S32 QSORT_CALLBACK SFXListener::sourceCompare ( const void item1,
const void item2 
) [static, protected]

Used to sort sources by attenuated volume and channel priority.

void SFXListener::setTransform ( const MatrixF transform  )  [inline]

const MatrixF& SFXListener::getTransform (  )  const [inline]

void SFXListener::setVelocity ( const VectorF velocity  )  [inline]

const VectorF& SFXListener::getVelocity (  )  const [inline]

void SFXListener::sortSources ( SFXSourceVector sources  ) 


Member Data Documentation

The current position and rotation.

The velocity.