com.jme3.terrain.geomipmap.lodcalc
インタフェース LodCalculator

すべてのスーパーインタフェース:
java.lang.Cloneable, Savable
既知の実装クラスの一覧:
DistanceLodCalculator, PerspectiveLodCalculator

public interface LodCalculator
extends Savable, java.lang.Cloneable

Calculate the Level of Detail of a terrain patch based on the cameras, or other locations.


メソッドの概要
 boolean calculateLod(java.util.List<Vector3f> locations, java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates)
           
 LodCalculator clone()
           
 void setTerrainPatch(TerrainPatch terrainPatch)
           
 boolean usesVariableLod()
          If true, then this calculator can cause neighbouring terrain chunks to have LOD levels that are greater than 1 apart.
 
インタフェース com.jme3.export.Savable から継承されたメソッド
read, write
 

メソッドの詳細

setTerrainPatch

void setTerrainPatch(TerrainPatch terrainPatch)

calculateLod

boolean calculateLod(java.util.List<Vector3f> locations,
                     java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates)

clone

LodCalculator clone()

usesVariableLod

boolean usesVariableLod()
If true, then this calculator can cause neighbouring terrain chunks to have LOD levels that are greater than 1 apart. Entropy algorithms will want to return true for this. Straight distance calculations will just want to return false.