org.ogre4j
Interface IBillboardParticleRenderer

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, INativeObject, IParticleSystemRenderer, ISceneObjAllocatedObject, IStringInterface
All Known Implementing Classes:
BillboardParticleRenderer

public interface IBillboardParticleRenderer
extends INativeObject, IParticleSystemRenderer


Nested Class Summary
static interface IBillboardParticleRenderer.ICmdAccurateFacing
           
static interface IBillboardParticleRenderer.ICmdBillboardOrigin
           
static interface IBillboardParticleRenderer.ICmdBillboardRotationType
           
static interface IBillboardParticleRenderer.ICmdBillboardType
           
static interface IBillboardParticleRenderer.ICmdCommonDirection
           
static interface IBillboardParticleRenderer.ICmdCommonUpVector
           
static interface IBillboardParticleRenderer.ICmdPointRendering
           
 
Method Summary
 SortMode _getSortMode()
          Gets the desired particles sort mode of this renderer
 void _notifyAttached(INode parent, boolean isTagPoint)
          Delegated to by
 void _notifyCurrentCamera(ICamera cam)
          Delegated to by
 void _notifyDefaultDimensions(float width, float height)
          Tells the renderer that the particle default size has changed
 void _notifyParticleQuota(int quota)
          Tells the renderer that the particle quota has changed
 void _notifyParticleResized()
          Optional callback notified when particles are resized individually
 void _notifyParticleRotated()
          Optional callback notified when particles are rotated
 void _setMaterial(IMaterialPtr mat)
          Sets the material this renderer must use; called by .
 void _updateRenderQueue(IRenderQueue queue, Ilist<IParticle> currentParticles, boolean cullIndividually)
          Delegated to by
 BillboardOrigin getBillboardOrigin()
          Gets the point which acts as the origin point for all billboards in this set.
 BillboardRotationType getBillboardRotationType()
          Sets billboard rotation type.
 IBillboardSet getBillboardSet()
           
 BillboardType getBillboardType()
          Returns the billboard type in use.
 IVector3 getCommonDirection()
          Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
 IVector3 getCommonUpVector()
          Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF)
 java.lang.String getType()
          Gets the type of this renderer - must be implemented by subclasses
 boolean getUseAccurateFacing()
           
 boolean isPointRenderingEnabled()
           
 void setBillboardOrigin(BillboardOrigin origin)
          Sets the point which acts as the origin point for all billboards in this set.
 void setBillboardRotationType(BillboardRotationType rotationType)
          Sets billboard rotation type.
 void setBillboardType(BillboardType bbt)
          Sets the type of billboard to render.
 void setCommonDirection(IVector3 vec)
          Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.
 void setCommonUpVector(IVector3 vec)
          Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF.
 void setKeepParticlesInLocalSpace(boolean keepLocal)
          Setting carried over from .
 void setPointRenderingEnabled(boolean enabled)
           
 void setRenderQueueGroup(short queueID)
          Sets which render queue group this renderer should target with it's output.
 void setUseAccurateFacing(boolean acc)
           
 void visitRenderables(IRenderable.IVisitor visitor, boolean debugRenderables)
          Required method to allow the renderer to communicate the Renderables it will be using to render the system to a visitor.
 
Methods inherited from interface org.ogre4j.IParticleSystemRenderer
_createVisualData, _destroyVisualData, _notifyParticleCleared, _notifyParticleEmitted, _notifyParticleExpired, _notifyParticleMoved
 
Methods inherited from interface org.ogre4j.IStringInterface
copyParametersTo, getParamDictionary_const, getParamDictionary, getParameter, getParameters, setParameter, setParameterList
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setBillboardType

void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.


getBillboardType

BillboardType getBillboardType()
Returns the billboard type in use.


setUseAccurateFacing

void setUseAccurateFacing(boolean acc)

getUseAccurateFacing

boolean getUseAccurateFacing()

setBillboardOrigin

void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.


getBillboardOrigin

BillboardOrigin getBillboardOrigin()
Gets the point which acts as the origin point for all billboards in this set.


setBillboardRotationType

void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.


getBillboardRotationType

BillboardRotationType getBillboardRotationType()
Sets billboard rotation type.


setCommonDirection

void setCommonDirection(IVector3 vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.


getCommonDirection

IVector3 getCommonDirection()
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)


setCommonUpVector

void setCommonUpVector(IVector3 vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF.


getCommonUpVector

IVector3 getCommonUpVector()
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF)


setPointRenderingEnabled

void setPointRenderingEnabled(boolean enabled)

isPointRenderingEnabled

boolean isPointRenderingEnabled()

getType

java.lang.String getType()
Description copied from interface: IParticleSystemRenderer
Gets the type of this renderer - must be implemented by subclasses

Specified by:
getType in interface IParticleSystemRenderer

_updateRenderQueue

void _updateRenderQueue(IRenderQueue queue,
                        Ilist<IParticle> currentParticles,
                        boolean cullIndividually)
Description copied from interface: IParticleSystemRenderer
Delegated to by

Specified by:
_updateRenderQueue in interface IParticleSystemRenderer

visitRenderables

void visitRenderables(IRenderable.IVisitor visitor,
                      boolean debugRenderables)
Description copied from interface: IParticleSystemRenderer
Required method to allow the renderer to communicate the Renderables it will be using to render the system to a visitor.

Specified by:
visitRenderables in interface IParticleSystemRenderer

_setMaterial

void _setMaterial(IMaterialPtr mat)
Description copied from interface: IParticleSystemRenderer
Sets the material this renderer must use; called by .

Specified by:
_setMaterial in interface IParticleSystemRenderer

_notifyCurrentCamera

void _notifyCurrentCamera(ICamera cam)
Description copied from interface: IParticleSystemRenderer
Delegated to by

Specified by:
_notifyCurrentCamera in interface IParticleSystemRenderer

_notifyParticleRotated

void _notifyParticleRotated()
Description copied from interface: IParticleSystemRenderer
Optional callback notified when particles are rotated

Specified by:
_notifyParticleRotated in interface IParticleSystemRenderer

_notifyParticleResized

void _notifyParticleResized()
Description copied from interface: IParticleSystemRenderer
Optional callback notified when particles are resized individually

Specified by:
_notifyParticleResized in interface IParticleSystemRenderer

_notifyParticleQuota

void _notifyParticleQuota(int quota)
Description copied from interface: IParticleSystemRenderer
Tells the renderer that the particle quota has changed

Specified by:
_notifyParticleQuota in interface IParticleSystemRenderer

_notifyAttached

void _notifyAttached(INode parent,
                     boolean isTagPoint)
Description copied from interface: IParticleSystemRenderer
Delegated to by

Specified by:
_notifyAttached in interface IParticleSystemRenderer

_notifyDefaultDimensions

void _notifyDefaultDimensions(float width,
                              float height)
Description copied from interface: IParticleSystemRenderer
Tells the renderer that the particle default size has changed

Specified by:
_notifyDefaultDimensions in interface IParticleSystemRenderer

setRenderQueueGroup

void setRenderQueueGroup(short queueID)
Description copied from interface: IParticleSystemRenderer
Sets which render queue group this renderer should target with it's output.

Specified by:
setRenderQueueGroup in interface IParticleSystemRenderer

setKeepParticlesInLocalSpace

void setKeepParticlesInLocalSpace(boolean keepLocal)
Description copied from interface: IParticleSystemRenderer
Setting carried over from .

Specified by:
setKeepParticlesInLocalSpace in interface IParticleSystemRenderer

_getSortMode

SortMode _getSortMode()
Description copied from interface: IParticleSystemRenderer
Gets the desired particles sort mode of this renderer

Specified by:
_getSortMode in interface IParticleSystemRenderer

getBillboardSet

IBillboardSet getBillboardSet()


Copyright © 2007 netAllied GmbH. All Rights Reserved.