|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBillboardChain
| Nested Class Summary | |
|---|---|
static interface |
IBillboardChain.IChainSegment
|
static interface |
IBillboardChain.IChainSegmentList
|
static interface |
IBillboardChain.IElement
|
static interface |
IBillboardChain.IElementList
|
| Nested classes/interfaces inherited from interface org.ogre4j.IMovableObject |
|---|
IMovableObject.IListener |
| Nested classes/interfaces inherited from interface org.ogre4j.IShadowCaster |
|---|
IShadowCaster.IShadowRenderableList, IShadowCaster.IShadowRenderableListIterator |
| Nested classes/interfaces inherited from interface org.ogre4j.IAnimableObject |
|---|
IAnimableObject.IAnimableDictionaryMap |
| Nested classes/interfaces inherited from interface org.ogre4j.IRenderable |
|---|
IRenderable.ICustomParameterMap, IRenderable.IRenderSystemData, IRenderable.IVisitor |
| Method Summary | |
|---|---|
void |
_notifyCurrentCamera(ICamera cam)
Internal method to notify the object of the camera to be used for the next rendering operation. |
void |
_updateRenderQueue(IRenderQueue a1)
Internal method by which the movable object must add subclass instances to the rendering queue. |
void |
addChainElement(int chainIndex,
IBillboardChain.IElement billboardChainElement)
Add an element to the 'head' of a chain. |
void |
clearAllChains()
Remove all elements from all chains (but leave the chains themselves intact). |
void |
clearChain(int chainIndex)
Remove all elements of a given chain (but leave the chain intact). |
IAxisAlignedBox |
getBoundingBox()
Retrieves the local axis-aligned bounding box for this object. |
float |
getBoundingRadius()
Retrieves the radius of the origin-centered bounding sphere for this object. |
IBillboardChain.IElement |
getChainElement(int chainIndex,
int elementIndex)
Get the detail of a chain element. |
boolean |
getDynamic()
Gets whether or not the buffers created for this object are suitable for dynamic alteration. |
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. |
java.lang.String |
getMaterialName()
|
int |
getMaxChainElements()
Get the maximum number of chain elements per chain |
java.lang.String |
getMovableType()
Returns the type name of this object. |
int |
getNumberOfChains()
Get the number of chain segments (this class can render multiple chains at once using the same material). |
int |
getNumChainElements(int chainIndex)
Returns the number of chain elements. |
FloatPointer |
getOtherTextureCoordRange()
Get the range of the texture coordinates generated across the width of the chain elements. |
void |
getRenderOperation(IRenderOperation a1)
Gets the render operation required to send this object to the frame buffer. |
float |
getSquaredViewDepth(ICamera cam)
Returns the camera-relative squared depth of this renderable. |
BillboardChain.TexCoordDirection |
getTextureCoordDirection()
Gets the direction in which texture coords specified on each element are deemed to run. |
boolean |
getUseTextureCoords()
Gets whether texture coordinate information should be included in the final buffers generated. |
boolean |
getUseVertexColours()
Gets whether vertex colour information should be included in the final buffers generated. |
void |
getWorldTransforms(IMatrix4 a1)
Gets the world transform matrix / matrices for this renderable object. |
void |
removeChainElement(int chainIndex)
Remove an element from the 'tail' of a chain. |
void |
setDynamic(boolean dyn)
Sets whether or not the buffers created for this object are suitable for dynamic alteration. |
void |
setMaterialName(java.lang.String name)
|
void |
setMaxChainElements(int maxElements)
Set the maximum number of chain elements per chain |
void |
setNumberOfChains(int numChains)
Set the number of chain segments (this class can render multiple chains at once using the same material). |
void |
setOtherTextureCoordRange(float start,
float end)
Set the range of the texture coordinates generated across the width of the chain elements. |
void |
setTextureCoordDirection(BillboardChain.TexCoordDirection dir)
Sets the direction in which texture coords specified on each element are deemed to run along the length of the chain. |
void |
setUseTextureCoords(boolean use)
Sets whether texture coordinate information should be included in the final buffers generated. |
void |
setUseVertexColours(boolean use)
Sets whether vertex colour information should be included in the final buffers generated. |
void |
updateChainElement(int chainIndex,
int elementIndex,
IBillboardChain.IElement billboardChainElement)
Update the details of an existing chain element. |
void |
visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
Method to allow a caller to abstractly iterate over the instances that this will add to the render queue when asked, if any. |
| Methods inherited from interface org.ogre4j.IAnimableObject |
|---|
createAnimableValue, getAnimableValueNames |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void setMaxChainElements(int maxElements)
int getMaxChainElements()
void setNumberOfChains(int numChains)
int getNumberOfChains()
void setUseTextureCoords(boolean use)
boolean getUseTextureCoords()
void setTextureCoordDirection(BillboardChain.TexCoordDirection dir)
BillboardChain.TexCoordDirection getTextureCoordDirection()
void setOtherTextureCoordRange(float start,
float end)
FloatPointer getOtherTextureCoordRange()
void setUseVertexColours(boolean use)
boolean getUseVertexColours()
void setDynamic(boolean dyn)
boolean getDynamic()
void addChainElement(int chainIndex,
IBillboardChain.IElement billboardChainElement)
void removeChainElement(int chainIndex)
void updateChainElement(int chainIndex,
int elementIndex,
IBillboardChain.IElement billboardChainElement)
IBillboardChain.IElement getChainElement(int chainIndex,
int elementIndex)
int getNumChainElements(int chainIndex)
void clearChain(int chainIndex)
void clearAllChains()
java.lang.String getMaterialName()
void setMaterialName(java.lang.String name)
void _notifyCurrentCamera(ICamera cam)
IMovableObject
_notifyCurrentCamera in interface IMovableObjectfloat getSquaredViewDepth(ICamera cam)
IRenderable
getSquaredViewDepth in interface IRenderablefloat getBoundingRadius()
IMovableObject
getBoundingRadius in interface IMovableObjectIAxisAlignedBox getBoundingBox()
IMovableObject
getBoundingBox in interface IMovableObjectIMaterialPtr getMaterial()
IRenderable
getMaterial in interface IRenderablejava.lang.String getMovableType()
IMovableObject
getMovableType in interface IMovableObjectvoid _updateRenderQueue(IRenderQueue a1)
IMovableObject
_updateRenderQueue in interface IMovableObjectvoid getRenderOperation(IRenderOperation a1)
IRenderable
getRenderOperation in interface IRenderablevoid getWorldTransforms(IMatrix4 a1)
IRenderable
getWorldTransforms in interface IRenderableILightList getLights()
IRenderable
getLights in interface IRenderable
void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
IMovableObject
visitRenderables in interface IMovableObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||