@JsType(isNative=true, namespace="Cesium", name="PointPrimitive") public class PointPrimitive extends Object
Modifier and Type | Field and Description |
---|---|
Color |
color
Gets or sets the inner color of the point.
|
double |
disableDepthTestDistance
Gets or sets the distance from the camera at which to disable the depth test to, for example,
prevent clipping against terrain.
|
DistanceDisplayCondition |
distanceDisplayCondition
Gets or sets the condition specifying at what distance from the camera that this point will be displayed.
|
Object |
id
Gets or sets the user-defined object returned when the point is picked.
|
Color |
outlineColor
Gets or sets the outline color of the point.
|
double |
outlineWidth
Gets or sets the outline width in pixels.
|
int |
pixelSize
Gets or sets the inner size of the point in pixels.
|
Cartesian3 |
position
Gets or sets the Cartesian position of this point.
|
NearFarScalar |
scaleByDistance
Gets or sets near and far scaling properties of a point based on the point's distance from the camera.
|
boolean |
show
Determines if this point will be shown.
|
NearFarScalar |
translucencyByDistance
Gets or sets near and far translucency properties of a point based on the point's distance from the camera.
|
Constructor and Description |
---|
PointPrimitive()
A graphical point positioned in the 3D scene, that is created and rendered using a PointPrimitiveCollection.
|
@JsProperty public Color color
@JsProperty public double disableDepthTestDistance
@JsProperty public DistanceDisplayCondition distanceDisplayCondition
@JsProperty public Object id
@JsProperty public Color outlineColor
@JsProperty public double outlineWidth
@JsProperty public int pixelSize
@JsProperty public Cartesian3 position
@JsProperty public NearFarScalar scaleByDistance
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 point's scale remains clamped to the nearest bound. This scale multiplies the
pixelSize and outlineWidth to affect the total size of the point. If undefined, scaleByDistance will be disabled.@JsProperty public boolean show
@JsProperty public NearFarScalar 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 point's translucency remains clamped to the nearest bound.
If undefined, translucencyByDistance will be disabled.@JsConstructor public PointPrimitive()
Copyright © 2019. All rights reserved.