java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.blocks.HornLOD
- All Implemented Interfaces:
Manageable
,Shareable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HornLOD.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
static final SCOType.Field
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getScale()
int
boolean
boolean
isUseLOD()
protected float
scaleToLod
(float number) protected int
segmentsToLod
(float number) void
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) Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
useLOD$FIELD
-
segments$FIELD
-
segmentsMode$FIELD
-
minSegments$FIELD
-
scale$FIELD
-
scaleMode$FIELD
-
profile$FIELD
-
-
Constructor Details
-
HornLOD
public HornLOD()
-
-
Method Details
-
set
-
segmentsToLod
protected int segmentsToLod(float number) -
scaleToLod
protected float scaleToLod(float number) -
isProfile
public boolean isProfile() -
getManageableType
-
isUseLOD
public boolean isUseLOD() -
setUseLOD
public void setUseLOD(boolean value) -
setProfile
public void setProfile(boolean value) -
getSegments
public int getSegments() -
setSegments
public void setSegments(int value) -
getMinSegments
public int getMinSegments() -
setMinSegments
public void setMinSegments(int value) -
getScale
public int getScale() -
setScale
public void setScale(int value) -
getSegmentsMode
-
setSegmentsMode
-
getScaleMode
-
setScaleMode
-