public class SimpleLodThreshold extends java.lang.Object implements LodThreshold
Constructor and Description |
---|
SimpleLodThreshold() |
SimpleLodThreshold(int patchSize,
float lodMultiplier) |
SimpleLodThreshold(Terrain terrain) |
Modifier and Type | Method and Description |
---|---|
LodThreshold |
clone() |
float |
getLodDistanceThreshold()
A distance of how far between each LOD threshold.
|
float |
getLodMultiplier() |
int |
getSize() |
void |
read(JmeImporter im) |
void |
setLodMultiplier(float lodMultiplier) |
void |
setSize(int size) |
java.lang.String |
toString() |
void |
write(JmeExporter ex) |
public SimpleLodThreshold()
public SimpleLodThreshold(Terrain terrain)
public SimpleLodThreshold(int patchSize, float lodMultiplier)
public float getLodMultiplier()
public void setLodMultiplier(float lodMultiplier)
public int getSize()
public void setSize(int size)
public float getLodDistanceThreshold()
LodThreshold
getLodDistanceThreshold
in interface LodThreshold
public void write(JmeExporter ex) throws java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
public LodThreshold clone()
clone
in interface LodThreshold
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object