|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IInstancedGeometry
| Method Summary | |
|---|---|
void |
addBatchInstance()
Add a new batch instance |
void |
addEntity(IEntity ent,
IVector3 position,
IQuaternion orientation,
IVector3 scale)
Adds an to the static geometry. |
void |
addSceneNode(ISceneNode node)
Adds all the objects attached to a and all it's children to the static geometry. |
void |
build()
Build the geometry. |
void |
destroy()
Destroys all the built geometry state (reverse of build). |
void |
dump(java.lang.String filename)
Dump the contents of this to a file for diagnostic purposes. |
IAnimationStateSet |
getBaseAnimationState()
|
void |
getBaseSkeleton(ISkeletonPtr returnValue)
|
ISkeletonInstance |
getBaseSkeletonInstance()
|
IVector3 |
getBatchInstanceDimensions()
Gets the size of a single batch of geometry. |
void |
getBatchInstanceIterator(IInstancedGeometry.IBatchInstanceIterator returnValue)
|
boolean |
getCastShadows()
|
java.lang.String |
getName()
|
long |
getObjectCount()
|
IVector3 |
getOrigin()
Gets the origin of this geometry. |
float |
getRenderingDistance()
Gets the distance at which batches are no longer rendered. |
IInstancedGeometry.IRenderOperationVector |
getRenderOperationVector()
|
short |
getRenderQueueGroup()
Gets the queue group for this entity, see setRenderQueueGroup for full details. |
float |
getSquaredRenderingDistance()
Gets the squared distance at which batches are no longer rendered. |
boolean |
isVisible()
Are the batches visible? |
void |
reset()
Clears any of the entities / nodes added to this geometry and destroys anything which has already been built. |
void |
setBatchInstanceDimensions(IVector3 size)
Sets the size of a single of geometry. |
void |
setCastShadows(boolean castShadows)
Sets whether this geometry should cast shadows. |
void |
setOrigin(IVector3 origin)
Sets the origin of the geometry. |
void |
setRenderingDistance(float dist)
Sets the distance at which batches are no longer rendered. |
void |
setRenderQueueGroup(short queueID)
Sets the render queue group this object will be rendered through. |
void |
setVisible(boolean visible)
Hides or shows all the batches. |
void |
visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
|
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
java.lang.String getName()
void addEntity(IEntity ent,
IVector3 position,
IQuaternion orientation,
IVector3 scale)
void addSceneNode(ISceneNode node)
void build()
void addBatchInstance()
void destroy()
void reset()
void setRenderingDistance(float dist)
float getRenderingDistance()
float getSquaredRenderingDistance()
void setVisible(boolean visible)
boolean isVisible()
void setCastShadows(boolean castShadows)
boolean getCastShadows()
void setBatchInstanceDimensions(IVector3 size)
IVector3 getBatchInstanceDimensions()
void setOrigin(IVector3 origin)
IVector3 getOrigin()
void setRenderQueueGroup(short queueID)
short getRenderQueueGroup()
void getBatchInstanceIterator(IInstancedGeometry.IBatchInstanceIterator returnValue)
IInstancedGeometry.IRenderOperationVector getRenderOperationVector()
void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
void dump(java.lang.String filename)
ISkeletonInstance getBaseSkeletonInstance()
void getBaseSkeleton(ISkeletonPtr returnValue)
IAnimationStateSet getBaseAnimationState()
long getObjectCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||