Go to the documentation of this file.
29 #ifndef __LodListener_H__
30 #define __LodListener_H__
43 struct MovableObjectLodChangedEvent
135 { (void)evt;
return false; }
163 { (void)evt;
return false; }
191 { (void)evt;
return false; }
virtual void postqueueEntityMeshLodChanged(const EntityMeshLodChangedEvent &evt)
Called after an entity's mesh LOD has changed.
Camera * camera
The camera with respect to which the level of detail has changed.
virtual bool prequeueEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Called before an entity's material LOD has changed.
A viewpoint from which the scene will be rendered.
Utility class which defines the sub-parts of an Entity.
ushort newLodIndex
New level of detail index.
Real lodValue
LOD value as determined by LOD strategy.
Abstract class defining a movable object in a scene.
MovableObject * movableObject
The movable object whose level of detail has changed.
ushort previousLodIndex
Previous level of detail index.
Defines an instance of a discrete, movable object based on a Mesh.
virtual void postqueueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called after a movable object's LOD has changed.
Struct containing information about a material LOD change event for entities.
virtual bool prequeueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called before a movable object's LOD has changed.
Real lodValue
LOD value as determined by LOD strategy.
SubEntity * subEntity
The sub-entity whose material's level of detail has changed.
A interface class defining a listener which can be used to receive notifications of LOD events.
Camera * camera
The camera with respect to which the level of detail has changed.
Struct containing information about a LOD change event for movable objects.
virtual void postqueueEntityMaterialLodChanged(const EntityMaterialLodChangedEvent &evt)
Called after an entity's material LOD has changed.
ushort newLodIndex
New level of detail index.
ushort previousLodIndex
Previous level of detail index.
Struct containing information about a mesh LOD change event for entities.
virtual bool prequeueEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Called before an entity's mesh LOD has changed.
float Real
Software floating point type.
Entity * entity
The entity whose level of detail has changed.
Camera * camera
The camera with respect to which the level of detail has changed.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15