com.jme3.terrain.geomipmap.lodcalc
クラス PerspectiveLodCalculator
java.lang.Object
com.jme3.terrain.geomipmap.lodcalc.PerspectiveLodCalculator
- すべての実装されたインタフェース:
- Savable, LodCalculator, java.lang.Cloneable
public class PerspectiveLodCalculator
- extends java.lang.Object
- implements LodCalculator
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerspectiveLodCalculator
public PerspectiveLodCalculator(Camera cam,
float pixelError)
setTerrainPatch
public void setTerrainPatch(TerrainPatch terrainPatch)
- 定義:
- インタフェース
LodCalculator
内の setTerrainPatch
calculateLod
public boolean calculateLod(java.util.List<Vector3f> locations,
java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates)
- 定義:
- インタフェース
LodCalculator
内の calculateLod
getCenterLocation
public Vector3f getCenterLocation()
clone
public LodCalculator clone()
- 定義:
- インタフェース
LodCalculator
内の clone
- オーバーライド:
- クラス
java.lang.Object
内の clone
write
public void write(JmeExporter ex)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の write
- 例外:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の read
- 例外:
java.io.IOException
usesVariableLod
public boolean usesVariableLod()
- インタフェース
LodCalculator
の記述:
- 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.
- 定義:
- インタフェース
LodCalculator
内の usesVariableLod