OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::SceneManager::ShadowRenderer::ShadowCasterSceneQueryListener Class Reference

Inner class to use as callback for shadow caster scene query. More...

#include <OgreSceneManager.h>

+ Inheritance diagram for Ogre::SceneManager::ShadowRenderer::ShadowCasterSceneQueryListener:

Public Member Functions

 ShadowCasterSceneQueryListener (SceneManager *sm)
 
void prepare (bool lightInFrustum, const PlaneBoundedVolumeList *lightClipVolumes, const Light *light, const Camera *cam, ShadowCasterList *casterList, Real farDistSquared)
 
bool queryResult (MovableObject *object) override
 Called when a MovableObject is returned by a query. More...
 
bool queryResult (SceneQuery::WorldFragment *fragment) override
 Called when a WorldFragment is returned by a query. More...
 
- Public Member Functions inherited from Ogre::SceneQueryListener
virtual ~SceneQueryListener ()
 

Detailed Description

Inner class to use as callback for shadow caster scene query.

Constructor & Destructor Documentation

◆ ShadowCasterSceneQueryListener()

Ogre::SceneManager::ShadowRenderer::ShadowCasterSceneQueryListener::ShadowCasterSceneQueryListener ( SceneManager sm)
inline

Member Function Documentation

◆ prepare()

void Ogre::SceneManager::ShadowRenderer::ShadowCasterSceneQueryListener::prepare ( bool  lightInFrustum,
const PlaneBoundedVolumeList lightClipVolumes,
const Light light,
const Camera cam,
ShadowCasterList *  casterList,
Real  farDistSquared 
)
inline

◆ queryResult() [1/2]

bool Ogre::SceneManager::ShadowRenderer::ShadowCasterSceneQueryListener::queryResult ( MovableObject object)
overridevirtual

Called when a MovableObject is returned by a query.

Remarks
The implementor should return 'true' to continue returning objects, or 'false' to abandon any further results from this query.

Implements Ogre::SceneQueryListener.

◆ queryResult() [2/2]

bool Ogre::SceneManager::ShadowRenderer::ShadowCasterSceneQueryListener::queryResult ( SceneQuery::WorldFragment fragment)
overridevirtual

Called when a WorldFragment is returned by a query.

Remarks
The implementor should return 'true' to continue returning objects, or 'false' to abandon any further results from this query.

Implements Ogre::SceneQueryListener.


The documentation for this class was generated from the following file: