org.ogre4j
Interface ISceneManager.IListener

All Superinterfaces:
INativeObject
All Known Implementing Classes:
SceneManager.Listener
Enclosing interface:
ISceneManager

public static interface ISceneManager.IListener
extends INativeObject


Method Summary
 void postFindVisibleObjects(ISceneManager source, SceneManager.IlluminationRenderStage irs, IViewport v)
          Called after searching for visible objects in this .
 void preFindVisibleObjects(ISceneManager source, SceneManager.IlluminationRenderStage irs, IViewport v)
          Called prior to searching for visible objects in this .
 void shadowTextureCasterPreViewProj(ILight light, ICamera camera, int iteration)
          This event occurs just before the view & projection matrices are set for rendering into a shadow texture.
 void shadowTextureReceiverPreViewProj(ILight light, IFrustum frustum)
          This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver.
 void shadowTexturesUpdated(int numberOfShadowTextures)
          Event raised after all shadow textures have been rendered into for all queues / targets but before any other geometry has been rendered (including main scene geometry and any additional shadow receiver passes).
 boolean sortLightsAffectingFrustum(ILightList lightList)
          Hook to allow the listener to override the ordering of lights for the entire frustum.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

preFindVisibleObjects

void preFindVisibleObjects(ISceneManager source,
                           SceneManager.IlluminationRenderStage irs,
                           IViewport v)
Called prior to searching for visible objects in this .


postFindVisibleObjects

void postFindVisibleObjects(ISceneManager source,
                            SceneManager.IlluminationRenderStage irs,
                            IViewport v)
Called after searching for visible objects in this .


shadowTexturesUpdated

void shadowTexturesUpdated(int numberOfShadowTextures)
Event raised after all shadow textures have been rendered into for all queues / targets but before any other geometry has been rendered (including main scene geometry and any additional shadow receiver passes).


shadowTextureCasterPreViewProj

void shadowTextureCasterPreViewProj(ILight light,
                                    ICamera camera,
                                    int iteration)
This event occurs just before the view & projection matrices are set for rendering into a shadow texture.


shadowTextureReceiverPreViewProj

void shadowTextureReceiverPreViewProj(ILight light,
                                      IFrustum frustum)
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver.


sortLightsAffectingFrustum

boolean sortLightsAffectingFrustum(ILightList lightList)
Hook to allow the listener to override the ordering of lights for the entire frustum.



Copyright © 2007 netAllied GmbH. All Rights Reserved.