Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <Listener.h>
Public Member Functions | |
const core::vector3d & | getVelocity () 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 |
Defines a listener in the sound world. Author: Kat'Oun version: 1.0
sound::Listener::Listener | ( | ) |
References initProperties(), scene::Node::mNodeType, and scene::NT_LISTENER.
sound::Listener::Listener | ( | const std::string & | name | ) |
References initProperties(), scene::Node::mNodeType, and scene::NT_LISTENER.
sound::Listener::~Listener | ( | ) | [virtual] |
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 | ( | const core::vector3d & | vec | ) |
References scene::Node::mModifiedAbsoluteTransform, and mVelocity.
u32 sound::Listener::msNextGeneratedListenerIndex = 0 [static, protected] |
core::vector3d sound::Listener::mVelocity [protected] |
Referenced by getVelocity(), initProperties(), and setVelocity().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:10 by
Doxygen
(1.7.4)
|