@JsType(isNative=true,
namespace="Cesium",
name="BoxGraphics")
public class BoxGraphics
extends Object
| Modifier and Type | Field and Description |
|---|---|
Property |
dimensions
Gets or sets Cartesian3 Property property specifying the length, width, and height of the box.
|
Property |
distanceDisplayCondition
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this box will be displayed.
|
Property |
fill
Gets or sets the boolean Property specifying whether the box is filled with the provided material.
|
Number |
heightReference
Gets or sets the Property specifying the HeightReference.
|
MaterialProperty |
material
Gets or sets the material used to fill the box.
|
Property |
outline
Gets or sets the Property specifying whether the box is outlined.
|
Property |
outlineColor
Gets or sets the Property specifying the Color of the outline.
|
Property |
outlineWidth
Gets or sets the numeric Property specifying the width of the outline.
|
Property |
shadows
Get or sets the enum Property specifying whether the box casts or receives shadows from each light source.
|
Property |
show
Gets or sets the boolean Property specifying the visibility of the box.
|
| Constructor and Description |
|---|
BoxGraphics()
Describes a box.
|
BoxGraphics(BoxGraphicsOptions options)
Describes a box.
|
| Modifier and Type | Method and Description |
|---|---|
BoxGraphics |
clone()
Duplicates this instance.
|
BoxGraphics |
clone(BoxGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(BoxGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Property dimensions
@JsProperty public Property distanceDisplayCondition
@JsProperty public Property fill
@JsProperty public Number heightReference
HeightReference.NONE()@JsProperty public MaterialProperty material
Color.WHITE()@JsProperty public Property outline
@JsProperty public Property outlineColor
Color.BLACK()@JsProperty public Property outlineWidth
@JsProperty public Property shadows
ShadowMode.DISABLED()@JsProperty public Property show
@JsConstructor public BoxGraphics()
Entity.@JsConstructor public BoxGraphics(BoxGraphicsOptions options)
Entity.options - Options@JsProperty(name="definitionChanged") public Event definitionChanged()
public BoxGraphics clone()
public BoxGraphics clone(BoxGraphics result)
result - The object onto which to store the result.public void merge(BoxGraphics source)
source - The object to be merged into this object.Copyright © 2019. All rights reserved.