@JsType(isNative=true, namespace="Cesium", name="GeometryUpdater") public abstract class GeometryUpdater extends Object
Entity
into Geometry
instances.
These instances are then visualized by GeometryVisualizer. This type defines an interface and cannot
be instantiated directly.EllipseGeometryUpdater
,
EllipsoidGeometryUpdater
,
PolygonGeometryUpdater
,
PolylineGeometryUpdater
,
RectangleGeometryUpdater
,
WallGeometryUpdater
Constructor and Description |
---|
GeometryUpdater(Entity entity,
Scene scene) |
Modifier and Type | Method and Description |
---|---|
DynamicGeometryUpdater |
createDynamicUpdater(PrimitiveCollection primitives)
Creates the dynamic updater to be used when
isDynamic() is true. |
GeometryInstance |
createFillGeometryInstance(JulianDate time)
Creates the geometry instance which represents the fill of the geometry.
|
GeometryInstance |
createOutlineGeometryInstance(JulianDate time)
Creates the geometry instance which represents the outline of the geometry.
|
void |
destroy()
Destroys and resources used by the object.
|
Property |
distanceDisplayConditionProperty()
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this geometry will be displayed.
|
Entity |
entity()
Gets the entity associated with this geometry.
|
boolean |
fillEnabled()
Gets a value indicating if the geometry has a fill component.
|
MaterialProperty |
fillMaterialProperty()
Gets the material property used to fill the geometry.
|
boolean |
geometryChanged()
Gets an event that is raised whenever the public properties of this updater change.
|
boolean |
hasConstantFill()
Gets a value indicating if fill visibility varies with simulation time.
|
boolean |
hasConstantOutline()
Gets a value indicating if the geometry has an outline component.
|
boolean |
isClosed()
Gets a value indicating if the geometry is closed.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
boolean |
isDynamic()
Gets a value indicating if the geometry is time-varying.
|
boolean |
isFilled(JulianDate time)
Checks if the geometry is filled at the provided time.
|
boolean |
isOutlineVisible(JulianDate time)
Checks if the geometry is outlined at the provided time.
|
Property |
outlineColorProperty()
Gets the Color property for the geometry outline.
|
boolean |
outlineEnabled()
Gets a value indicating if the geometry has an outline component.
|
double |
outlineWidth()
Gets the constant with of the geometry outline, in pixels.
|
@JsProperty(name="distanceDisplayConditionProperty") public Property distanceDisplayConditionProperty()
@JsProperty(name="entity") public Entity entity()
@JsProperty(name="fillEnabled") public boolean fillEnabled()
@JsProperty(name="fillMaterialProperty") public MaterialProperty fillMaterialProperty()
@JsProperty(name="geometryChanged") public boolean geometryChanged()
@JsProperty(name="hasConstantFill") public boolean hasConstantFill()
@JsProperty(name="hasConstantOutline") public boolean hasConstantOutline()
@JsProperty(name="isClosed") public boolean isClosed()
@JsProperty(name="isDynamic") public boolean isDynamic()
@JsProperty(name="outlineColorProperty") public Property outlineColorProperty()
@JsProperty(name="outlineEnabled") public boolean outlineEnabled()
@JsProperty(name="outlineWidth") public double outlineWidth()
@JsMethod public DynamicGeometryUpdater createDynamicUpdater(PrimitiveCollection primitives)
isDynamic()
is true.primitives
- The primitive collection to use.@JsMethod public GeometryInstance createFillGeometryInstance(JulianDate time)
time
- The time to use when retrieving initial attribute values.@JsMethod public GeometryInstance createOutlineGeometryInstance(JulianDate time)
time
- The time to use when retrieving initial attribute values.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
@JsMethod public boolean isFilled(JulianDate time)
time
- The time for which to retrieve visibility.@JsMethod public boolean isOutlineVisible(JulianDate time)
time
- The time for which to retrieve visibility.Copyright © 2019. All rights reserved.