Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
Representation of a renderable in the render world. More...
#include <Renderable.h>
Public Member Functions | |
const core::aabox3d & | getBoundingBox () |
const core::sphere3d & | getBoundingSphere () |
virtual Material * | getMaterial () const |
const RenderableType & | getRenderableType () const |
Gets renderable type. | |
virtual void | getRenderOperation (RenderOperation &ro) |
const core::matrix4 & | getWorldMatrix () |
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 |
Representation of a renderable in the render world.
render::Renderable::Renderable | ( | ) |
References initProperties(), scene::Node::mNodeType, and scene::NT_RENDERABLE.
render::Renderable::Renderable | ( | const std::string & | name | ) |
References initProperties(), scene::Node::mNodeType, and scene::NT_RENDERABLE.
render::Renderable::~Renderable | ( | ) | [virtual] |
const core::aabox3d & render::Renderable::getBoundingBox | ( | ) |
References mBoundingBox.
Referenced by render::RenderManager::renderSingleRenderable().
const core::sphere3d & render::Renderable::getBoundingSphere | ( | ) |
References mBoundingSphere.
Referenced by render::RenderManager::findLightsAffectingRenderables(), and render::RenderManager::renderSingleRenderable().
Material * render::Renderable::getMaterial | ( | ) | const [virtual] |
Reimplemented in render::DebugRenderable, render::Model, render::Overlay, and render::TextOverlay.
Referenced by render::RenderManager::renderSingleRenderable().
const RenderableType & render::Renderable::getRenderableType | ( | ) | const |
Gets renderable type.
References mRenderableType.
void render::Renderable::getRenderOperation | ( | RenderOperation & | ro | ) | [virtual] |
Reimplemented in render::DebugRenderable, render::Model, and render::Overlay.
Referenced by render::RenderManager::renderSingleRenderable().
const core::matrix4 & render::Renderable::getWorldMatrix | ( | ) |
References mWorldMatrix.
Referenced by render::ShaderParamData::getWorldMatrix(), render::RenderManager::renderSingleOverlay(), and render::RenderManager::renderSingleRenderable().
void render::Renderable::initProperties | ( | ) | [protected] |
Reimplemented from scene::Node.
Reimplemented in render::DebugRenderable, render::Model, render::Overlay, and render::TextOverlay.
References core::matrix4::IDENTITY, mRenderableType, mWorldMatrix, and render::RT_UNDEFINED.
Referenced by Renderable().
core::aabox3d render::Renderable::mBoundingBox [protected] |
Bounding box that 'contains' this object.
Referenced by getBoundingBox(), and render::Model::updateImpl().
core::sphere3d render::Renderable::mBoundingSphere [protected] |
Bounding sphere that 'contains' this object.
Referenced by getBoundingSphere(), and render::Model::updateImpl().
RenderableType render::Renderable::mRenderableType [protected] |
u32 render::Renderable::msNextGeneratedRenderableIndex = 0 [static, protected] |
core::matrix4 render::Renderable::mWorldMatrix [protected] |
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:09 by
Doxygen
(1.7.4)
|