@JsType(isNative=true, namespace="Cesium", name="BillboardGraphics") public class BillboardGraphics extends Object
Modifier and Type | Field and Description |
---|---|
Property |
alignedAxis
Gets or sets the Cartesian3 Property specifying the unit vector axis of rotation in the fixed frame.
|
Property |
color
Gets or sets the Property specifying the Color that is multiplied with the imagery.
|
Property |
disableDepthTestDistance
Gets or sets the distance from the camera at which to disable the depth test to, for example,
prevent clipping against terrain.
|
Property |
distanceDisplayCondition
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this billboard will be displayed.
|
Property |
eyeOffset
Gets or sets the Cartesian3 Property specifying the billboard's offset in eye coordinates.
|
Property |
height
Gets or sets the numeric Property specifying the height of the billboard in pixels.
|
Property |
heightReference
Gets or sets the Property specifying the HeightReference.
|
Property |
horizontalOrigin
Gets or sets the Property specifying the HorizontalOrigin.
|
Property |
image
Gets or sets the Property specifying the Image, URI, or Canvas to use for the billboard.
|
Property |
imageSubRegion
Gets or sets the Property specifying a BoundingRectangle that defines a sub-region of the imagery to use for the billboard,
rather than the entire imagery, measured in pixels from the bottom-left.
|
Property |
pixelOffset
Gets or sets the Cartesian2 Property specifying the billboard's pixel offset in screen space from the origin of
this billboard.
|
Property |
pixelOffsetScaleByDistance
Gets or sets NearFarScalar Property specifying the pixel offset of the billboard based on the distance from the camera.
|
Property |
rotation
Gets or sets the numeric Property specifying the rotation of the imagery counter clockwise from the alignedAxis.
|
Property |
scale
Gets or sets the numeric Property specifying the uniform scale to apply to the imagery.
|
Property |
scaleByDistance
Gets or sets NearFarScalar Property specifying the scale of the billboard based on the distance from the camera.
|
Property |
show
Gets or sets the boolean Property specifying the visibility of the billboard.
|
Property |
sizeInMeters
Gets or sets the boolean Property specifying if this billboard's size will be measured in meters.
|
Property |
translucencyByDistance
Gets or sets NearFarScalar Property specifying the translucency of the billboard based on the distance from the camera.
|
Property |
verticalOrigin
Gets or sets the Property specifying the VerticalOrigin.
|
Property |
width
Gets or sets the numeric Property specifying the billboard's width in pixels.
|
Constructor and Description |
---|
BillboardGraphics() |
BillboardGraphics(BillboardGraphicsOptions options) |
Modifier and Type | Method and Description |
---|---|
BillboardGraphics |
clone()
Duplicates this instance.
|
BillboardGraphics |
clone(BillboardGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(BillboardGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Property alignedAxis
Cartesian3.ZERO()
@JsProperty public Property color
Color.WHITE()
@JsProperty public Property disableDepthTestDistance
@JsProperty public Property distanceDisplayCondition
@JsProperty public Property eyeOffset
Cartesian3.ZERO()
@JsProperty public Property height
@JsProperty public Property heightReference
HeightReference.NONE()
@JsProperty public Property horizontalOrigin
HorizontalOrigin.CENTER()
@JsProperty public Property image
@JsProperty public Property imageSubRegion
@JsProperty public Property pixelOffset
Cartesian2.ZERO()
@JsProperty public Property pixelOffsetScaleByDistance
NearFarScalar.farValue
while the camera distance falls within the upper and lower bounds of the specified NearFarScalar.near
and NearFarScalar.far
. Outside of these ranges the billboard's pixel offset remains
clamped to the nearest bound.@JsProperty public Property rotation
@JsProperty public Property scale
@JsProperty public Property scaleByDistance
NearFarScalar.farValue
while
the camera distance falls within the upper and lower bounds of the specified NearFarScalar.near
and NearFarScalar.far
.
Outside of these ranges the billboard's scale remains clamped to the nearest bound.@JsProperty public Property show
@JsProperty public Property sizeInMeters
@JsProperty public Property translucencyByDistance
NearFarScalar.nearValue
and NearFarScalar.farValue
while
the camera distance falls within the upper and lower bounds of the specified NearFarScalar.near
and NearFarScalar.far
.
Outside of these ranges the billboard's translucency remains clamped to the nearest bound.@JsProperty public Property verticalOrigin
VerticalOrigin.CENTER()
@JsProperty public Property width
@JsConstructor public BillboardGraphics()
@JsConstructor public BillboardGraphics(BillboardGraphicsOptions options)
@JsProperty(name="definitionChanged") public Event definitionChanged()
@JsMethod public BillboardGraphics clone()
@JsMethod public BillboardGraphics clone(BillboardGraphics result)
result
- The object onto which to store the result.@JsMethod public void merge(BillboardGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.