Inheritance diagram for OgreRenderable:
Public Member Functions | |
OgreRenderable (SubEntity *sube, Entity *parentEntity) | |
Constructor. | |
OgreRenderable (Entity *parentEntity, int subEntityNum) | |
Constructor. | |
OgreRenderable (BillboardSet *billboardset) | |
Constructor. | |
~OgreRenderable (void) | |
Destructor. | |
void | setVisible (bool visible) |
Sets the visibility of the wrapped renderable. | |
void | setRenderGroup (unsigned char groupID) |
Sets the rendergroup of the wrapped renderable. | |
bool | isVisible () |
Retrieves if the renderable is hided or shown. | |
void | setMaterialName (String &name) |
Sets the material to be used by the renderable. | |
const MaterialPtr & | getMaterialPtr () |
Retrieves a resource pointer to the material used by the renderable. | |
const String & | getMaterialName () |
Retrieves the name of the material used by the renderable. | |
Material * | getMaterial () |
Retrieves a pointer to the material used by the renderable. | |
AxisAlignedBox & | getBoundingBox () |
Retrieves the axis-aligned bouding box of the renderable. | |
Sphere & | getBoundingSphere () |
Retrieves the bouding sphere of the renderable. | |
String & | getName () |
Retrieves the unique name assigned to the renderable. | |
void | updateBounds () |
Updates bounding volumes. | |
void | notifyCamera (Camera *cam) |
Calls notifyCamera for the wrapped Renderable. | |
Renderable * | getRenderable () |
Returns the wrapped Renderable. | |
Protected Attributes | |
String | name |
unique name assigned to the renderable | |
Entity * | parentEntity |
pointer to the parent Entity if the renderable is a Subentity | |
SubEntity * | subEntityRenderable |
pointer to the wrapped Subentity (if the renderable is a Subentity) | |
BillboardSet * | billboardSetRenderable |
pointer to the wrapped BillboardSet (if the renderable is a BillboardSet) | |
AxisAlignedBox | boundingBox |
axis-aligned bounding box of the wrapped renderable in world space | |
Sphere | boundingSphere |
bounding sphere of the wrapped renderable in world space | |
Ogre_RenderableType | renderableType |
type of the renderable (see Ogre_RenderableType) |
|
Constructor. Creates an OgreRenderable from a SubEntity of an Entity.
|
|
Constructor. Creates an OgreRenderable from a SubEntity of an Entity.
|
|
Constructor. Creates an OgreRenderable from a SubEntity of a BillboardSet.
|
|
Retrieves the axis-aligned bouding box of the renderable.
|
|
Retrieves the bouding sphere of the renderable.
|
|
Retrieves a pointer to the material used by the renderable.
|
|
Retrieves the name of the material used by the renderable.
|
|
Retrieves a resource pointer to the material used by the renderable.
|
|
Retrieves the unique name assigned to the renderable.
|
|
Returns the wrapped Renderable.
|
|
Calls notifyCamera for the wrapped Renderable.
|
|
Sets the material to be used by the renderable.
|
|
Sets the rendergroup of the wrapped renderable.
Implements ElementaryRenderable. |
|
Sets the visibility of the wrapped renderable.
Implements ElementaryRenderable. |