Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
sound::Listener Class Reference

#include <Listener.h>

Inheritance diagram for sound::Listener:
scene::Node engine::Object

List of all members.

Public Member Functions

const core::vector3dgetVelocity () const
 Listener (const std::string &name)
 Listener ()
void setVelocity (f32 x, f32 y, f32 z)
void setVelocity (const core::vector3d &vec)
virtual ~Listener ()

Protected Member Functions

void initProperties ()

Protected Attributes

core::vector3d mVelocity

Static Protected Attributes

static u32 msNextGeneratedListenerIndex = 0

Detailed Description

Defines a listener in the sound world. Author: Kat'Oun version: 1.0


Constructor & Destructor Documentation

sound::Listener::Listener ( )
sound::Listener::Listener ( const std::string &  name)
sound::Listener::~Listener ( ) [virtual]

Member Function Documentation

const core::vector3d & sound::Listener::getVelocity ( ) const

References mVelocity.

void sound::Listener::initProperties ( ) [protected]

Reimplemented from scene::Node.

References mVelocity, and core::vector3d::ORIGIN_3D.

Referenced by Listener().

void sound::Listener::setVelocity ( f32  x,
f32  y,
f32  z 
)
void sound::Listener::setVelocity ( const core::vector3d vec)

Member Data Documentation


The documentation for this class was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:10 by Doxygen (1.7.4)