Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

peon::ISceneObject Class Reference

This base object for our scene. More...

#include <ISceneObject.h>

Inheritance diagram for peon::ISceneObject:

peon::IUnknown peon::Billboard peon::IActor peon::SceneCamera peon::SceneLight peon::SceneRoot List of all members.

Public Member Functions

 ISceneObject ()
 Constructor.
virtual ~ISceneObject ()
 Destructor.
virtual void onUpdate (float fElapsedTime)
 This method is used to update this particular node.
virtual void onRender ()
 This method can be used as a overrideable for rendering.
void setPos (Vector3 newPos)
 This method just sets our object's position.

Public Attributes

Vector3 m_vecPos
 position in the game world

Detailed Description

This base object for our scene.


Member Function Documentation

virtual void peon::ISceneObject::onRender  )  [inline, virtual]
 

This method can be used as a overrideable for rendering.

Returns:
void

virtual void peon::ISceneObject::onUpdate float  fElapsedTime  )  [inline, virtual]
 

This method is used to update this particular node.

Every object inherited from ISceneObject should try to override this method, as it allows it to be processed by any scene manager.

Parameters:
fElapsedTime - elapsed time between frames
Returns:
void

void peon::ISceneObject::setPos Vector3  newPos  )  [inline]
 

This method just sets our object's position.

Parameters:
newPos - Vector3 of the game world
Returns:
void


The documentation for this class was generated from the following file:
Generated on Thu Dec 1 01:55:41 2005 for Peon by  doxygen 1.4.1