public class BillboardGraphics extends Object
billboard
property in CZML.Constructor and Description |
---|
BillboardGraphics()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
CesiumProperty<UnitCartesian> |
getAlignedAxis()
Gets the aligned axis, which is the unit vector, in world coordinates,
that the billboard up vector points towards.
|
CesiumProperty<Color> |
getColor()
Gets the color of the billboard.
|
CesiumProperty<Double> |
getDisableDepthTestDistance()
Gets the distance from the camera at which to disable the depth test.
|
CesiumProperty<Bounds> |
getDistanceDisplayCondition()
Gets the distances from the camera at which this billboard will be displayed.
|
CesiumProperty<Cartesian> |
getEyeOffset()
Gets the billboard's offset from the origin in eye coordinates.
|
CesiumProperty<Double> |
getHeight()
|
CesiumProperty<CesiumHeightReference> |
getHeightReference()
Gets the height reference of the billboard.
|
CesiumProperty<CesiumHorizontalOrigin> |
getHorizontalOrigin()
Gets whether the billboard is left, center, or right-aligned with the origin.
|
CesiumProperty<CesiumResource> |
getImage()
Gets the billboard image.
|
CesiumProperty<BoundingRectangle> |
getImageSubRegion()
Gets a sub-region of the image which will be used for the billboard, rather than the entire image,
measured in pixels from the bottom-left.
|
CesiumProperty<Rectangular> |
getPixelOffset()
Gets the billboard's offset from the origin in pixel coordinates.
|
CesiumProperty<NearFarScalar> |
getPixelOffsetScaleByDistance()
Gets how the billboard's pixel offset should change based on the billboard's distance from the camera.
|
CesiumProperty<Double> |
getRotation()
|
CesiumProperty<Double> |
getScale()
Gets the scale of the billboard image.
|
CesiumProperty<NearFarScalar> |
getScaleByDistance()
Gets how the billboard's scale should change based on the billboard's distance from the camera.
|
CesiumProperty<Boolean> |
getShow()
Gets whether or not the billboard is shown.
|
CesiumProperty<Boolean> |
getSizeInMeters()
|
CesiumProperty<NearFarScalar> |
getTranslucencyByDistance()
Gets how the billboard's translucency should change based on the billboard's distance from the camera.
|
CesiumProperty<CesiumVerticalOrigin> |
getVerticalOrigin()
Gets whether the billboard is bottom, center, or top-aligned with the origin.
|
CesiumProperty<Double> |
getWidth()
|
void |
setAlignedAxis(CesiumProperty<UnitCartesian> value)
Sets the aligned axis, which is the unit vector, in world coordinates,
that the billboard up vector points towards.
|
void |
setColor(CesiumProperty<Color> value)
Sets the color of the billboard.
|
void |
setDisableDepthTestDistance(CesiumProperty<Double> value)
Sets the distance from the camera at which to disable the depth test.
|
void |
setDistanceDisplayCondition(CesiumProperty<Bounds> value)
Sets the distances from the camera at which this billboard will be displayed.
|
void |
setEyeOffset(CesiumProperty<Cartesian> value)
Sets the billboard's offset from the origin in eye coordinates.
|
void |
setHeight(CesiumProperty<Double> value)
|
void |
setHeightReference(CesiumProperty<CesiumHeightReference> value)
Sets the height reference of the billboard.
|
void |
setHorizontalOrigin(CesiumProperty<CesiumHorizontalOrigin> value)
Sets whether the billboard is left, center, or right-aligned with the origin.
|
void |
setImage(CesiumProperty<CesiumResource> value)
Sets the billboard image.
|
void |
setImageSubRegion(CesiumProperty<BoundingRectangle> value)
Sets a sub-region of the image which will be used for the billboard, rather than the entire image,
measured in pixels from the bottom-left.
|
void |
setPixelOffset(CesiumProperty<Rectangular> value)
Sets the billboard's offset from the origin in pixel coordinates.
|
void |
setPixelOffsetScaleByDistance(CesiumProperty<NearFarScalar> value)
Sets how the billboard's pixel offset should change based on the billboard's distance from the camera.
|
void |
setRotation(CesiumProperty<Double> value)
|
void |
setScale(CesiumProperty<Double> value)
Sets the scale of the billboard image.
|
void |
setScaleByDistance(CesiumProperty<NearFarScalar> value)
Sets how the billboard's scale should change based on the billboard's distance from the camera.
|
void |
setShow(CesiumProperty<Boolean> value)
Sets whether or not the billboard is shown.
|
void |
setSizeInMeters(CesiumProperty<Boolean> value)
|
void |
setTranslucencyByDistance(CesiumProperty<NearFarScalar> value)
Sets how the billboard's translucency should change based on the billboard's distance from the camera.
|
void |
setVerticalOrigin(CesiumProperty<CesiumVerticalOrigin> value)
Sets whether the billboard is bottom, center, or top-aligned with the origin.
|
void |
setWidth(CesiumProperty<Double> value)
|
public final CesiumProperty<Boolean> getShow()
true
.public final void setShow(CesiumProperty<Boolean> value)
true
.public final CesiumProperty<CesiumResource> getImage()
public final void setImage(CesiumProperty<CesiumResource> value)
public final CesiumProperty<Double> getScale()
public final void setScale(CesiumProperty<Double> value)
public final CesiumProperty<Rectangular> getPixelOffset()
public final void setPixelOffset(CesiumProperty<Rectangular> value)
public final CesiumProperty<Cartesian> getEyeOffset()
public final void setEyeOffset(CesiumProperty<Cartesian> value)
public final CesiumProperty<CesiumHorizontalOrigin> getHorizontalOrigin()
CesiumHorizontalOrigin.CENTER
.public final void setHorizontalOrigin(CesiumProperty<CesiumHorizontalOrigin> value)
CesiumHorizontalOrigin.CENTER
.public final CesiumProperty<CesiumVerticalOrigin> getVerticalOrigin()
CesiumVerticalOrigin.CENTER
.public final void setVerticalOrigin(CesiumProperty<CesiumVerticalOrigin> value)
CesiumVerticalOrigin.CENTER
.public final CesiumProperty<CesiumHeightReference> getHeightReference()
CesiumHeightReference.NONE
.public final void setHeightReference(CesiumProperty<CesiumHeightReference> value)
CesiumHeightReference.NONE
.public final CesiumProperty<Color> getColor()
White
(get
).public final void setColor(CesiumProperty<Color> value)
White
(get
).public final CesiumProperty<Double> getRotation()
public final void setRotation(CesiumProperty<Double> value)
public final CesiumProperty<UnitCartesian> getAlignedAxis()
public final void setAlignedAxis(CesiumProperty<UnitCartesian> value)
public final CesiumProperty<Boolean> getSizeInMeters()
public final void setSizeInMeters(CesiumProperty<Boolean> value)
public final CesiumProperty<Double> getWidth()
public final void setWidth(CesiumProperty<Double> value)
public final CesiumProperty<Double> getHeight()
public final void setHeight(CesiumProperty<Double> value)
public final CesiumProperty<NearFarScalar> getScaleByDistance()
public final void setScaleByDistance(CesiumProperty<NearFarScalar> value)
public final CesiumProperty<NearFarScalar> getTranslucencyByDistance()
public final void setTranslucencyByDistance(CesiumProperty<NearFarScalar> value)
public final CesiumProperty<NearFarScalar> getPixelOffsetScaleByDistance()
public final void setPixelOffsetScaleByDistance(CesiumProperty<NearFarScalar> value)
public final CesiumProperty<BoundingRectangle> getImageSubRegion()
public final void setImageSubRegion(CesiumProperty<BoundingRectangle> value)
public final CesiumProperty<Bounds> getDistanceDisplayCondition()
public final void setDistanceDisplayCondition(CesiumProperty<Bounds> value)
public final CesiumProperty<Double> getDisableDepthTestDistance()
Double.POSITIVE_INFINITY
, the depth test is never applied.
If not specified, the default is 0.0.public final void setDisableDepthTestDistance(CesiumProperty<Double> value)
Double.POSITIVE_INFINITY
, the depth test is never applied.
If not specified, the default is 0.0.