@JsType(isNative=true, namespace="Cesium", name="CylinderGraphics") public class CylinderGraphics extends Object
Modifier and Type | Field and Description |
---|---|
Property |
bottomRadius
A numeric Property specifying the radius of the bottom of the cylinder.
|
Property |
distanceDisplayCondition
A Property specifying at what distance from the camera that this cylinder will be displayed.
|
Property |
fill
A boolean Property specifying whether the cylinder is filled with the provided material.
|
Number |
heightReference
Gets or sets the Property specifying the HeightReference.
|
Property |
length
A numeric Property specifying the length of the cylinder.
|
MaterialProperty |
material
A Property specifying the material used to fill the cylinder.
|
Property |
numberOfVerticalLines
A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline.
|
Property |
outline
A boolean Property specifying whether the cylinder is outlined.
|
Property |
outlineColor
A Property specifying the Color of the outline.
|
Property |
outlineWidth
A numeric Property specifying the width of the outline.
|
Property |
shadows
An enum Property specifying whether the cylinder casts or receives shadows from each light source.
|
Property |
show
A boolean Property specifying the visibility of the cylinder.
|
Property |
slices
The number of edges around the perimeter of the cylinder.
|
Property |
topRadius
A numeric Property specifying the radius of the top of the cylinder.
|
Constructor and Description |
---|
CylinderGraphics()
Describes a cylinder, truncated cone, or cone defined by a length, top radius, and bottom radius.
|
CylinderGraphics(CylinderGraphicsOptions options)
Describes a cylinder, truncated cone, or cone defined by a length, top radius, and bottom radius.
|
Modifier and Type | Method and Description |
---|---|
CylinderGraphics |
clone(CylinderGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(CylinderGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Property length
@JsProperty public Property topRadius
@JsProperty public Property bottomRadius
@JsProperty public Property show
@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 numberOfVerticalLines
@JsProperty public Property slices
@JsProperty public Property shadows
ShadowMode.DISABLED()
@JsProperty public Property distanceDisplayCondition
@JsConstructor public CylinderGraphics()
Entity
.@JsConstructor public CylinderGraphics(CylinderGraphicsOptions options)
Entity
.options
- Options@JsProperty(name="definitionChanged") public Event definitionChanged()
public CylinderGraphics clone(@JsOptional CylinderGraphics result)
result
- The object onto which to store the result.public void merge(CylinderGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.