java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.blocks.HydraLOD
- All Implemented Interfaces:
Manageable
,Shareable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HydraLOD.Type
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getScale()
boolean
isUseLOD()
protected int
numberToLod
(float number) protected float
scaleToLod
(float number) void
void
setMinNumber
(int value) void
setNumber
(int value) void
setNumberMode
(FloatToFloat value) void
setScale
(int value) void
setScaleMode
(FloatToFloat value) void
setUseLOD
(boolean value) Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
useLOD$FIELD
-
number$FIELD
-
numberMode$FIELD
-
minNumber$FIELD
-
scale$FIELD
-
scaleMode$FIELD
-
-
Constructor Details
-
HydraLOD
public HydraLOD()
-
-
Method Details
-
set
-
numberToLod
protected int numberToLod(float number) -
scaleToLod
protected float scaleToLod(float number) -
getManageableType
-
isUseLOD
public boolean isUseLOD() -
setUseLOD
public void setUseLOD(boolean value) -
getNumber
public int getNumber() -
setNumber
public void setNumber(int value) -
getMinNumber
public int getMinNumber() -
setMinNumber
public void setMinNumber(int value) -
getScale
public int getScale() -
setScale
public void setScale(int value) -
getNumberMode
-
setNumberMode
-
getScaleMode
-
setScaleMode
-