org.ogre4j
Interface ILiSPSMShadowCameraSetup

All Superinterfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, IFocusedShadowCameraSetup, INativeObject, ISceneCtlAllocatedObject, IShadowCameraSetup
All Known Subinterfaces:
IPSSMShadowCameraSetup
All Known Implementing Classes:
LiSPSMShadowCameraSetup, PSSMShadowCameraSetup

public interface ILiSPSMShadowCameraSetup
extends INativeObject, IFocusedShadowCameraSetup


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.IFocusedShadowCameraSetup
IFocusedShadowCameraSetup.IPointListBody
 
Method Summary
 float getOptimalAdjustFactor()
          Get the parameter n used to produce optimal shadows.
 void getShadowCamera(ISceneManager sm, ICamera cam, IViewport vp, ILight light, ICamera texCam, int iteration)
          Returns a LiSPSM shadow camera.
 boolean getUseSimpleOptimalAdjust()
          Gets whether or not to use a slightly simpler version of the camera near point derivation (default is true)
 void setOptimalAdjustFactor(float n)
          Adjusts the parameter n to produce optimal shadows.
 void setUseSimpleOptimalAdjust(boolean s)
          Sets whether or not to use a slightly simpler version of the camera near point derivation (default is true)
 
Methods inherited from interface org.ogre4j.IFocusedShadowCameraSetup
getUseAggressiveFocusRegion, setUseAggressiveFocusRegion
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getShadowCamera

void getShadowCamera(ISceneManager sm,
                     ICamera cam,
                     IViewport vp,
                     ILight light,
                     ICamera texCam,
                     int iteration)
Returns a LiSPSM shadow camera.

Specified by:
getShadowCamera in interface IFocusedShadowCameraSetup
Specified by:
getShadowCamera in interface IShadowCameraSetup

setOptimalAdjustFactor

void setOptimalAdjustFactor(float n)
Adjusts the parameter n to produce optimal shadows.


getOptimalAdjustFactor

float getOptimalAdjustFactor()
Get the parameter n used to produce optimal shadows.


setUseSimpleOptimalAdjust

void setUseSimpleOptimalAdjust(boolean s)
Sets whether or not to use a slightly simpler version of the camera near point derivation (default is true)


getUseSimpleOptimalAdjust

boolean getUseSimpleOptimalAdjust()
Gets whether or not to use a slightly simpler version of the camera near point derivation (default is true)



Copyright © 2007 netAllied GmbH. All Rights Reserved.