org.ogre4j
Interface IShadowRenderable

All Superinterfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, INativeObject, IRenderable, ISceneCtlAllocatedObject
All Known Subinterfaces:
IEntity.IEntityShadowRenderable, IManualObject.IManualObjectSectionShadowRenderable, IStaticGeometry.IRegion.IRegionShadowRenderable
All Known Implementing Classes:
Entity.EntityShadowRenderable, ManualObject.ManualObjectSectionShadowRenderable, ShadowRenderable, StaticGeometry.Region.RegionShadowRenderable

public interface IShadowRenderable
extends INativeObject, IRenderable, ISceneCtlAllocatedObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.IRenderable
IRenderable.ICustomParameterMap, IRenderable.IRenderSystemData, IRenderable.IVisitor
 
Method Summary
 IShadowRenderable getLightCapRenderable()
           
 ILightList getLights()
          Gets a list of lights, ordered relative to how close they are to this renderable.
 IMaterialPtr getMaterial()
          Retrieves a weak reference to the material this renderable object uses.
 void getRenderOperation(IRenderOperation op)
          Gets the render operation required to send this object to the frame buffer.
 IRenderOperation getRenderOperationForUpdate()
           
 float getSquaredViewDepth(ICamera a1)
          Returns the camera-relative squared depth of this renderable.
 void getWorldTransforms(IMatrix4 xform)
          Gets the world transform matrix / matrices for this renderable object.
 boolean isLightCapSeparate()
          Does this renderable require a separate light cap?
 boolean isVisible()
           
 void setMaterial(IMaterialPtr mat)
          Set the material to be used by the shadow, should be set by the caller before adding to a render queue
 
Methods inherited from interface org.ogre4j.IRenderable
_updateCustomGpuParameter, getCastsShadows, getCustomParameter, getNumWorldTransforms, getPolygonModeOverrideable, getRenderSystemData, getTechnique, getUseIdentityProjection, getUseIdentityView, getUserAny, postRender, preRender, setCustomParameter, setPolygonModeOverrideable, setRenderSystemData, setUseIdentityProjection, setUseIdentityView, setUserAny
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setMaterial

void setMaterial(IMaterialPtr mat)
Set the material to be used by the shadow, should be set by the caller before adding to a render queue


getMaterial

IMaterialPtr getMaterial()
Description copied from interface: IRenderable
Retrieves a weak reference to the material this renderable object uses.

Specified by:
getMaterial in interface IRenderable

getRenderOperation

void getRenderOperation(IRenderOperation op)
Description copied from interface: IRenderable
Gets the render operation required to send this object to the frame buffer.

Specified by:
getRenderOperation in interface IRenderable

getRenderOperationForUpdate

IRenderOperation getRenderOperationForUpdate()

getWorldTransforms

void getWorldTransforms(IMatrix4 xform)
Description copied from interface: IRenderable
Gets the world transform matrix / matrices for this renderable object.

Specified by:
getWorldTransforms in interface IRenderable

getSquaredViewDepth

float getSquaredViewDepth(ICamera a1)
Description copied from interface: IRenderable
Returns the camera-relative squared depth of this renderable.

Specified by:
getSquaredViewDepth in interface IRenderable

getLights

ILightList getLights()
Description copied from interface: IRenderable
Gets a list of lights, ordered relative to how close they are to this renderable.

Specified by:
getLights in interface IRenderable

isLightCapSeparate

boolean isLightCapSeparate()
Does this renderable require a separate light cap?


getLightCapRenderable

IShadowRenderable getLightCapRenderable()

isVisible

boolean isVisible()


Copyright © 2007 netAllied GmbH. All Rights Reserved.