|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStaticGeometry
| Nested Class Summary | |
|---|---|
static interface |
IStaticGeometry.IGeometryBucket
|
static interface |
IStaticGeometry.IIndexRemap
|
static interface |
IStaticGeometry.ILODBucket
|
static interface |
IStaticGeometry.IMaterialBucket
|
static interface |
IStaticGeometry.IOptimisedSubMeshGeometry
|
static interface |
IStaticGeometry.IOptimisedSubMeshGeometryList
|
static interface |
IStaticGeometry.IQueuedGeometry
|
static interface |
IStaticGeometry.IQueuedGeometryList
|
static interface |
IStaticGeometry.IQueuedSubMesh
|
static interface |
IStaticGeometry.IQueuedSubMeshList
|
static interface |
IStaticGeometry.IRegion
|
static interface |
IStaticGeometry.IRegionIterator
|
static interface |
IStaticGeometry.IRegionMap
|
static interface |
IStaticGeometry.ISubMeshGeometryLookup
|
static interface |
IStaticGeometry.ISubMeshLodGeometryLink
|
static interface |
IStaticGeometry.ISubMeshLodGeometryLinkList
|
| Method Summary | |
|---|---|
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. |
boolean |
getCastShadows()
|
java.lang.String |
getName()
|
IVector3 |
getOrigin()
Gets the origin of this geometry. |
IVector3 |
getRegionDimensions()
Gets the size of a single batch of geometry. |
void |
getRegionIterator(IStaticGeometry.IRegionIterator returnValue)
|
float |
getRenderingDistance()
Gets the distance at which batches are no longer rendered. |
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 |
setCastShadows(boolean castShadows)
Sets whether this geometry should cast shadows. |
void |
setOrigin(IVector3 origin)
Sets the origin of the geometry. |
void |
setRegionDimensions(IVector3 size)
Sets the size of a single region of 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 destroy()
void reset()
void setRenderingDistance(float dist)
float getRenderingDistance()
float getSquaredRenderingDistance()
void setVisible(boolean visible)
boolean isVisible()
void setCastShadows(boolean castShadows)
boolean getCastShadows()
void setRegionDimensions(IVector3 size)
IVector3 getRegionDimensions()
void setOrigin(IVector3 origin)
IVector3 getOrigin()
void setRenderQueueGroup(short queueID)
short getRenderQueueGroup()
void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
void getRegionIterator(IStaticGeometry.IRegionIterator returnValue)
void dump(java.lang.String filename)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||