|
bool | _getBuffersMarkedForAnimation (void) const |
| Are buffers already marked as vertex animated? More...
|
|
VertexData * | _getHardwareVertexAnimVertexData (void) |
| Advanced method to get the hardware morph vertex information. More...
|
|
VertexData * | _getSkelAnimVertexData (void) |
| Advanced method to get the temporarily blended vertex information for entities which are software skinned. More...
|
|
VertexData * | _getSoftwareVertexAnimVertexData (void) |
| Advanced method to get the temporarily blended software morph vertex information. More...
|
|
void | _invalidateCameraCache () |
| Invalidate the camera distance cache. More...
|
|
void | _markBuffersUnusedForAnimation (void) |
| Mark all vertex data as so far unanimated. More...
|
|
void | _markBuffersUsedForAnimation (void) |
| Mark all vertex data as animated. More...
|
|
void | _restoreBuffersForUnusedAnimation (bool hardwareAnimation) |
| Internal method to copy original vertex data to the morph structures should there be no active animation in use. More...
|
|
void | _updateCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const override |
| Overridden from Renderable to provide some custom behaviour. More...
|
|
bool | getCastsShadows (void) const override |
| Method which reports whether this renderable would normally cast a shadow. More...
|
|
uint32 | getIndexDataEndIndex () const |
|
uint32 | getIndexDataStartIndex () const |
|
const LightList & | getLights (void) const override |
| Gets a list of lights, ordered relative to how close they are to this renderable. More...
|
|
const MaterialPtr & | getMaterial (void) const override |
| Retrieves a weak reference to the material this renderable object uses. More...
|
|
const String & | getMaterialName () const |
| Gets the name of the Material in use by this instance. More...
|
|
unsigned short | getNumWorldTransforms (void) const override |
| Returns the number of world transform matrices this renderable requires. More...
|
|
Entity * | getParent (void) const |
| Accessor to get parent Entity. More...
|
|
void | getRenderOperation (RenderOperation &op) override |
| Gets the render operation required to send this object to the frame buffer. More...
|
|
uint8 | getRenderQueueGroup (void) const |
| Gets the queue group for this entity, see setRenderQueueGroup for full details. More...
|
|
ushort | getRenderQueuePriority (void) const |
| Gets the queue group for this entity, see setRenderQueueGroup for full details. More...
|
|
Real | getSquaredViewDepth (const Camera *cam) const override |
| Returns the squared distance between the camera and this renderable. More...
|
|
SubMesh * | getSubMesh (void) const |
| Accessor method to read mesh data. More...
|
|
VertexData * | getVertexDataForBinding (void) |
| Retrieve the VertexData which should be used for GPU binding. More...
|
|
void | getWorldTransforms (Matrix4 *xform) const override |
| Gets the world transform matrix / matrices for this renderable object. More...
|
|
bool | isRenderQueueGroupSet (void) const |
| Gets the queue group for this entity, see setRenderQueueGroup for full details. More...
|
|
bool | isRenderQueuePrioritySet (void) const |
| Gets the queue group for this entity, see setRenderQueueGroup for full details. More...
|
|
bool | isVisible (void) const |
| Returns whether or not this SubEntity is supposed to be visible. More...
|
|
void | resetIndexDataStartEndIndex () |
| Reset the custom start/end index to the default values. More...
|
|
void | setIndexDataEndIndex (uint32 end_index) |
|
void | setIndexDataStartIndex (uint32 start_index) |
|
void | setMaterial (const MaterialPtr &material) |
| Sets the name of the Material to be used. More...
|
|
void | setMaterialName (const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) |
| Sets the name of the Material to be used. More...
|
|
void | setRenderQueueGroup (uint8 queueID) |
| Sets the render queue group this SubEntity will be rendered through. More...
|
|
void | setRenderQueueGroupAndPriority (uint8 queueID, ushort priority) |
| Sets the render queue group and group priority this SubEntity will be rendered through. More...
|
|
void | setVisible (bool visible) |
| Tells this SubEntity whether to be visible or not. More...
|
|
| Renderable () |
|
virtual | ~Renderable () |
| Virtual destructor needed as class has virtual methods. More...
|
|
uint16 | _getMaterialLodIndex () const |
|
const Vector4f & | getCustomParameter (size_t index) const |
| Gets the custom value associated with this Renderable at the given index. More...
|
|
bool | getPolygonModeOverrideable (void) const |
| Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. More...
|
|
virtual Technique * | getTechnique (void) const |
| Retrieves a pointer to the Material Technique this renderable object uses. More...
|
|
bool | getUseIdentityProjection (void) const |
| Returns whether or not to use an 'identity' projection. More...
|
|
bool | getUseIdentityView (void) const |
| Returns whether or not to use an 'identity' view. More...
|
|
const Any & | getUserAny (void) const |
|
UserObjectBindings & | getUserObjectBindings () |
| Class that provides convenient interface to establish a linkage between custom user application objects and Ogre core classes. More...
|
|
const UserObjectBindings & | getUserObjectBindings () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
bool | hasCustomParameter (size_t index) const |
| Checks whether a custom value is associated with this Renderable at the given index. More...
|
|
virtual void | postRender (SceneManager *sm, RenderSystem *rsys) |
| Called immediately after the Renderable has been rendered. More...
|
|
virtual bool | preRender (SceneManager *sm, RenderSystem *rsys) |
| Called just prior to the Renderable being rendered. More...
|
|
void | removeCustomParameter (size_t index) |
| Removes a custom value which is associated with this Renderable at the given index. More...
|
|
void | setCustomParameter (size_t index, const Vector4f &value) |
| Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters. More...
|
|
void | setPolygonModeOverrideable (bool override) |
| Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. More...
|
|
void | setUseIdentityProjection (bool useIdentityProjection) |
| Sets whether or not to use an 'identity' projection. More...
|
|
void | setUseIdentityView (bool useIdentityView) |
| Sets whether or not to use an 'identity' view. More...
|
|
void | setUserAny (const Any &anything) |
|
Utility class which defines the sub-parts of an Entity.
Just as meshes are split into submeshes, an Entity is made up of potentially multiple SubMeshes. These are mainly here to provide the link between the Material which the SubEntity uses (which may be the default Material for the SubMesh or may have been changed for this object) and the SubMesh data.
- The SubEntity also allows the application some flexibility in the material properties for this section of a particular instance of this Mesh, e.g. tinting the windows on a car model.
- SubEntity instances are never created manually. They are created at the same time as their parent Entity by the SceneManager method createEntity.