crystalspace.jbind.interfaces.iengine.lod
Interface iLODControl

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csLODControl

public interface iLODControl
extends iBase

The iLODControl interface represents an object that has controllable LOD features.

Author:
Quentin Anciaux

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()).
 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 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

setLOD

public void setLOD(float m,
                   float a)
Set a parameters for a function to compute LOD for the given LOD control.

Parameters:
m -
a -

getLODf

public float[] getLODf()
Get the current LOD function.

Returns:

setLOD

public void setLOD(iSharedVariable varm,
                   iSharedVariable vara)
Set LOD using variables.

Parameters:
varm -
vara -

getLODish

public iSharedVariable[] getLODish()
Return the variables used by lod.

Returns:

getLODPolygonCount

public 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()).

Parameters:
lod -
Returns: