com.jme3.terrain.geomipmap.lodcalc
クラス SimpleLodThreshold
java.lang.Object
com.jme3.terrain.geomipmap.lodcalc.SimpleLodThreshold
- すべての実装されたインタフェース:
- Savable, LodThreshold, java.lang.Cloneable
public class SimpleLodThreshold
- extends java.lang.Object
- implements LodThreshold
Just multiplies the terrain patch size by 2. So every two
patches away the camera is, the LOD changes.
Set it higher to have the LOD change less frequently.
| クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleLodThreshold
public SimpleLodThreshold()
SimpleLodThreshold
public SimpleLodThreshold(int patchSize,
float lodMultiplier)
getLodMultiplier
public float getLodMultiplier()
setLodMultiplier
public void setLodMultiplier(float lodMultiplier)
getSize
public int getSize()
setSize
public void setSize(int size)
getLodDistanceThreshold
public float getLodDistanceThreshold()
- インタフェース
LodThreshold の記述:
- A distance of how far between each LOD threshold.
- 定義:
- インタフェース
LodThreshold 内の getLodDistanceThreshold
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
clone
public LodThreshold clone()
- 定義:
- インタフェース
LodThreshold 内の clone - オーバーライド:
- クラス
java.lang.Object 内の clone
toString
public java.lang.String toString()
- オーバーライド:
- クラス
java.lang.Object 内の toString