|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object crystalspace.jbind.impl.csNativeObject crystalspace.jbind.impl.csutil.scf.csBase crystalspace.jbind.impl.engine.lod.csLODControl
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csLODControl(iPointer nPointer)
|
Method Summary | |
float[] |
getLODf()
Get the current LOD function. |
iSharedVariable[] |
getLODish()
Return the variables used by lod. |
int |
getLODPolygonCount(float lod)
Get a rough estimate of the number of polygons for a given LOD value (between 0 and 1, similar to the value used by SetLOD()). |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
setLOD(float m,
float a)
Set a parameters for a function to compute LOD for the given LOD control. |
void |
setLOD(iSharedVariable varm,
iSharedVariable vara)
Set LOD using variables. |
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csLODControl(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void setLOD(float m, float a)
iLODControl
setLOD
in interface iLODControl
m
- a
- iLODControl.setLOD(float, float)
public float[] getLODf()
iLODControl
getLODf
in interface iLODControl
iLODControl.getLODf()
public void setLOD(iSharedVariable varm, iSharedVariable vara)
iLODControl
setLOD
in interface iLODControl
varm
- vara
- iLODControl.setLOD(crystalspace.jbind.interfaces.iengine.sharevar.iSharedVariable, crystalspace.jbind.interfaces.iengine.sharevar.iSharedVariable)
public iSharedVariable[] getLODish()
iLODControl
getLODish
in interface iLODControl
iLODControl.getLODish()
public int getLODPolygonCount(float lod)
iLODControl
getLODPolygonCount
in interface iLODControl
lod
-
iLODControl.getLODPolygonCount(float)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |