Skip to content

KBE3D / KBCore / Cesium / CylinderGraphics / ConstructorOptions

接口: ConstructorOptions

Initialization options for the CylinderGraphics constructor

属性

show?

optional show: boolean | Property

A boolean Property specifying the visibility of the cylinder.


length?

optional length: number | Property

A numeric Property specifying the length of the cylinder.


topRadius?

optional topRadius: number | Property

A numeric Property specifying the radius of the top of the cylinder.


bottomRadius?

optional bottomRadius: number | Property

A numeric Property specifying the radius of the bottom of the cylinder.


heightReference?

optional heightReference: Property | HeightReference

A Property specifying what the height from the entity position is relative to.


fill?

optional fill: boolean | Property

A boolean Property specifying whether the cylinder is filled with the provided material.


material?

optional material: Color | MaterialProperty

A Property specifying the material used to fill the cylinder.


outline?

optional outline: boolean | Property

A boolean Property specifying whether the cylinder is outlined.


outlineColor?

optional outlineColor: Color | Property

A Property specifying the Color of the outline.


outlineWidth?

optional outlineWidth: number | Property

A numeric Property specifying the width of the outline.


numberOfVerticalLines?

optional numberOfVerticalLines: number | Property

A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline.


slices?

optional slices: number | Property

The number of edges around the perimeter of the cylinder.


shadows?

optional shadows: Property | ShadowMode

An enum Property specifying whether the cylinder casts or receives shadows from light sources.


distanceDisplayCondition?

optional distanceDisplayCondition: Property | DistanceDisplayCondition

A Property specifying at what distance from the camera that this cylinder will be displayed.

KBE3D @3.0.0 Copyright © 2024-present KBE3D