Package com.massifmaps.styles
Class BillboardScaling
java.lang.Object
com.massifmaps.styles.BillboardScaling
Possible scaling modes for billboards.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceThe accepted values of this constant namespace. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBillboard's screen size is always the same, regardless of the zoom level, tilt angle or
billboard's position.static final intBillboard's size on screen is unaffected by zooming, but billboards
that are further away from the camera get smaller when the tilt angle is < 90.static final intBillboard has a constant world space size. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BILLBOARD_SCALING_WORLD_SIZE
public static final int BILLBOARD_SCALING_WORLD_SIZEBillboard has a constant world space size. Zooming causes the billboard
to get smaller or bigger on the screen.- See Also:
-
BILLBOARD_SCALING_SCREEN_SIZE
public static final int BILLBOARD_SCALING_SCREEN_SIZEBillboard's size on screen is unaffected by zooming, but billboards
that are further away from the camera get smaller when the tilt angle is < 90.- See Also:
-
BILLBOARD_SCALING_CONST_SCREEN_SIZE
public static final int BILLBOARD_SCALING_CONST_SCREEN_SIZEBillboard's screen size is always the same, regardless of the zoom level, tilt angle or
billboard's position.- See Also:
-
-
Constructor Details
-
BillboardScaling
public BillboardScaling()
-