#include <OgreMovableObject.h>
Inheritance diagram for Ogre::MovableObject:
Public Methods | |
MovableObject () | |
Constructor. More... | |
virtual | ~MovableObject () |
Virtual destructor - read Scott Meyers if you don't know why this is needed. More... | |
virtual const String & | getName (void) const=0 |
Returns the name of this object. More... | |
virtual const String | getMovableType (void) const=0 |
Returns the type name of this object. More... | |
virtual SceneNode * | getParentNode (void) |
Returns the node to which this object is attached. More... | |
virtual void | _notifyAttached (SceneNode *parent) |
Internal method called to notify the object that it has been attached to a node. More... | |
virtual bool | isAttached (void) const |
Returns true if this object is attached to a SceneNode. More... | |
virtual void | _notifyCurrentCamera (Camera *cam)=0 |
Internal method to notify the object of the camera to be used for the next rendering operation. More... | |
virtual const AxisAlignedBox & | getBoundingBox (void) const=0 |
Retrieves the local axis-aligned bounding box for this object. More... | |
virtual void | _updateRenderQueue (RenderQueue *queue)=0 |
Internal method by which the movable object must add Renderable subclass instances to the rendering queue. More... | |
virtual void | setVisible (bool visible) |
Tells this object whether to be visible or not, if it has a renderable component. More... | |
virtual bool | isVisible (void) const |
Returns whether or not this object is supposed to be visible or not. More... | |
virtual void | setUserObject (UserDefinedObject *obj) |
Call this to associate your own custom user object instance with this MovableObject. More... | |
virtual UserDefinedObject * | getUserObject (void) |
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject. More... | |
virtual void | setRenderQueueGroup (RenderQueueGroupID queueID) |
Sets the render queue group this entity will be rendered through. More... | |
virtual RenderQueueGroupID | getRenderQueueGroup (void) |
Gets the queue group for this entity, see setRenderQueueGroup for full details. More... | |
Protected Attributes | |
SceneNode * | mParentNode |
node to which this object is attached. More... | |
bool | mVisible |
Is this object visible? More... | |
UserDefinedObject * | mUserObject |
User defined object which is linked to this object. More... | |
RenderQueueGroupID | mRenderQueueID |
The render queue to use when rendering this object. More... |
|
Constructor.
|
|
Virtual destructor - read Scott Meyers if you don't know why this is needed.
|
|
Internal method called to notify the object that it has been attached to a node.
Reimplemented in Ogre::SimpleRenderable. |
|
Internal method to notify the object of the camera to be used for the next rendering operation.
Implemented in Ogre::BillboardSet. |
|
Internal method by which the movable object must add Renderable subclass instances to the rendering queue.
Implemented in Ogre::BillboardSet. |
|
Retrieves the local axis-aligned bounding box for this object.
Implemented in Ogre::BillboardSet. |
|
Returns the type name of this object.
Implemented in Ogre::BillboardSet. |
|
Returns the name of this object.
Implemented in Ogre::BillboardSet. |
|
Returns the node to which this object is attached.
Reimplemented in Ogre::SimpleRenderable. |
|
Gets the queue group for this entity, see setRenderQueueGroup for full details.
|
|
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.
|
|
Returns true if this object is attached to a SceneNode.
|
|
Returns whether or not this object is supposed to be visible or not.
|
|
Sets the render queue group this entity will be rendered through.
|
|
Call this to associate your own custom user object instance with this MovableObject.
|
|
Tells this object whether to be visible or not, if it has a renderable component.
Reimplemented in Ogre::Light. |
|
node to which this object is attached.
|
|
The render queue to use when rendering this object.
|
|
User defined object which is linked to this object.
|
|
Is this object visible?
|
Copyright © 2002 by The OGRE Team