de.grogra.blocks
public class HornLOD extends ShareableBase
| Modifier and Type | Class and Description |
|---|---|
static class |
HornLOD.Type |
| Modifier and Type | Field and Description |
|---|---|
static HornLOD.Type |
$TYPE |
static SCOType.Field |
minSegments$FIELD |
static SCOType.Field |
profile$FIELD |
static SCOType.Field |
scale$FIELD |
static SCOType.Field |
scaleMode$FIELD |
static SCOType.Field |
segments$FIELD |
static SCOType.Field |
segmentsMode$FIELD |
static SCOType.Field |
useLOD$FIELD |
| Constructor and Description |
|---|
HornLOD() |
| Modifier and Type | Method and Description |
|---|---|
ManageableType |
getManageableType() |
int |
getMinSegments() |
int |
getScale() |
FloatToFloat |
getScaleMode() |
int |
getSegments() |
FloatToFloat |
getSegmentsMode() |
boolean |
isProfile() |
boolean |
isUseLOD() |
protected float |
scaleToLod(float number) |
protected int |
segmentsToLod(float number) |
void |
set(View view,
Vector3d v,
float size) |
void |
setMinSegments(int value) |
void |
setProfile(boolean value) |
void |
setScale(int value) |
void |
setScaleMode(FloatToFloat value) |
void |
setSegments(int value) |
void |
setSegmentsMode(FloatToFloat value) |
void |
setUseLOD(boolean value) |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final HornLOD.Type $TYPE
public static final SCOType.Field minSegments$FIELD
public static final SCOType.Field profile$FIELD
public static final SCOType.Field scale$FIELD
public static final SCOType.Field scaleMode$FIELD
public static final SCOType.Field segments$FIELD
public static final SCOType.Field segmentsMode$FIELD
public static final SCOType.Field useLOD$FIELD
public ManageableType getManageableType()
public int getMinSegments()
public int getScale()
public FloatToFloat getScaleMode()
public int getSegments()
public FloatToFloat getSegmentsMode()
public boolean isProfile()
public boolean isUseLOD()
protected float scaleToLod(float number)
protected int segmentsToLod(float number)
public void setMinSegments(int value)
public void setProfile(boolean value)
public void setScale(int value)
public void setScaleMode(FloatToFloat value)
public void setSegments(int value)
public void setSegmentsMode(FloatToFloat value)
public void setUseLOD(boolean value)