Thrive
Classes | Public Member Functions | Protected Member Functions | List of all members
thrive::NodeAttachable Class Referenceabstract

A helper class for sound objects that want to move with Ogre::SceneNode. More...

#include <node_attachable.h>

Inherited by thrive::SoundEmitter::Implementation, and thrive::SoundListener::Implementation.

Classes

struct  Implementation
 

Public Member Functions

void detachFromNode ()
 Detaches this from a scene node, stops this from moving with the node.
 
void attachToNode (Ogre::SceneNode *node)
 Attaches this object to an Ogre SceneNode and makes this move with the node.
 
Ogre::SceneNode * getAttachedNode () const
 Returns the ogre node.
 

Protected Member Functions

virtual void onMoved (Ogre::SceneNode *node)=0
 Called when node callback has updated position and node graph has been updated.
 

Detailed Description

A helper class for sound objects that want to move with Ogre::SceneNode.


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