|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A mesh factory wrapper is an engine-level object that wraps around a mesh object factory.
iMeshObjectFactory
Method Summary | |
void |
addFactoryToStaticLOD(int lod,
iMeshFactoryWrapper fact)
Set a given child factory at a specific lod level. |
iMeshWrapper |
createMeshWrapper()
Create mesh objects from this factory. |
iLODControl |
createStaticLODC()
Create a LOD control template for this factory. |
void |
destroyStaticLOD()
Destroy the LOD control for this factory. |
iMeshFactoryList |
getChildren()
Get all the children of this mesh factory. |
iMeshObjectFactory |
getMeshObjectFactory()
Get the iMeshObjectFactory. |
iMeshFactoryWrapper |
getParentContainer()
Get the parent of this factory. |
float[] |
getStaticLOD()
Get the LOD function parameters for this factory. |
iLODControl |
getStaticLODC()
Get the LOD control for this factory. |
csReversibleTransform |
getTransform()
Get optional relative transform (relative to parent). |
void |
hardTransform(csReversibleTransform t)
Do a hard transform of this factory. |
iObject |
queryObject()
Get the iObject for this mesh factory. |
void |
removeFactoryFromStaticLOD(iMeshFactoryWrapper fact)
Remove a child factory from all lod levels. |
void |
setMeshObjectFactory(iMeshObjectFactory fact)
Set the mesh object factory. |
void |
setParentContainer(iMeshFactoryWrapper p)
Set the parent of this factory. |
void |
setStaticLOD(float m,
float a)
Set the LOD function parameters for this factory. |
void |
setTransform(csReversibleTransform tr)
Set optional relative transform (relative to parent). |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public iObject queryObject()
public iMeshObjectFactory getMeshObjectFactory()
public void setMeshObjectFactory(iMeshObjectFactory fact)
fact
- public void hardTransform(csReversibleTransform t)
t
- public iMeshWrapper createMeshWrapper()
public iMeshFactoryWrapper getParentContainer()
public void setParentContainer(iMeshFactoryWrapper p)
p
- public iMeshFactoryList getChildren()
public csReversibleTransform getTransform()
public void setTransform(csReversibleTransform tr)
tr
- public iLODControl createStaticLODC()
public void destroyStaticLOD()
public iLODControl getStaticLODC()
public void setStaticLOD(float m, float a)
m
- a
- public float[] getStaticLOD()
public void addFactoryToStaticLOD(int lod, iMeshFactoryWrapper fact)
lod
- fact
- public void removeFactoryFromStaticLOD(iMeshFactoryWrapper fact)
fact
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |