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
render::Renderable Class Reference

Representation of a renderable in the render world. More...

#include <Renderable.h>

Inheritance diagram for render::Renderable:
scene::Node engine::Object render::DebugRenderable render::Model render::Overlay render::PanelOverlay render::TextOverlay

List of all members.

Public Member Functions

const core::aabox3dgetBoundingBox ()
const core::sphere3dgetBoundingSphere ()
virtual MaterialgetMaterial () const
const RenderableTypegetRenderableType () const
 Gets renderable type.
virtual void getRenderOperation (RenderOperation &ro)
const core::matrix4getWorldMatrix ()
 Renderable (const std::string &name)
 Renderable ()
virtual ~Renderable ()

Protected Member Functions

void initProperties ()

Protected Attributes

core::aabox3d mBoundingBox
 Bounding box that 'contains' this object.
core::sphere3d mBoundingSphere
 Bounding sphere that 'contains' this object.
RenderableType mRenderableType
core::matrix4 mWorldMatrix

Static Protected Attributes

static u32 msNextGeneratedRenderableIndex = 0

Detailed Description

Representation of a renderable in the render world.


Constructor & Destructor Documentation

render::Renderable::Renderable ( )
render::Renderable::Renderable ( const std::string &  name)
render::Renderable::~Renderable ( ) [virtual]

Member Function Documentation

const core::aabox3d & render::Renderable::getBoundingBox ( )
const core::sphere3d & render::Renderable::getBoundingSphere ( )
Material * render::Renderable::getMaterial ( ) const [virtual]
const RenderableType & render::Renderable::getRenderableType ( ) const

Gets renderable type.

References mRenderableType.

void render::Renderable::getRenderOperation ( RenderOperation ro) [virtual]
const core::matrix4 & render::Renderable::getWorldMatrix ( )
void render::Renderable::initProperties ( ) [protected]

Member Data Documentation

Bounding box that 'contains' this object.

Referenced by getBoundingBox(), and render::Model::updateImpl().

Bounding sphere that 'contains' this object.

Referenced by getBoundingSphere(), and render::Model::updateImpl().


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:09 by Doxygen (1.7.4)