Skip to content

KBE3D / KBCore / Cesium / CylinderGraphics

类: CylinderGraphics

Describes a cylinder, truncated cone, or cone defined by a length, top radius, and bottom radius. The center position and orientation are determined by the containing Entity.

参数

Object describing initialization options

属性

definitionChanged

readonly definitionChanged: Event

Gets the event that is raised whenever a property or sub-property is changed or modified.


show

show: Property | undefined

Gets or sets the boolean Property specifying the visibility of the cylinder.


length

length: Property | undefined

Gets or sets the numeric Property specifying the length of the cylinder.


topRadius

topRadius: Property | undefined

Gets or sets the numeric Property specifying the radius of the top of the cylinder.


bottomRadius

bottomRadius: Property | undefined

Gets or sets the numeric Property specifying the radius of the bottom of the cylinder.


heightReference

heightReference: Property | undefined

Gets or sets the Property specifying the HeightReference.


fill

fill: Property | undefined

Gets or sets the boolean Property specifying whether the cylinder is filled with the provided material.


material

material: MaterialProperty | undefined

Gets or sets the Property specifying the material used to fill the cylinder.


outline

outline: Property | undefined

Gets or sets the boolean Property specifying whether the cylinder is outlined.


outlineColor

outlineColor: Property | undefined

Gets or sets the Property specifying the Color of the outline.


outlineWidth

outlineWidth: Property | undefined

Gets or sets the numeric Property specifying the width of the outline. <p> Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40\

}. </p>


numberOfVerticalLines

numberOfVerticalLines: Property | undefined

Gets or sets the Property specifying the number of vertical lines to draw along the perimeter for the outline.


slices

slices: Property | undefined

Gets or sets the Property specifying the number of edges around the perimeter of the cylinder.


shadows

shadows: Property | undefined

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


distanceDisplayCondition

distanceDisplayCondition: Property | undefined

Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this cylinder will be displayed.

方法

clone()

clone(result?: CylinderGraphics): CylinderGraphics

Duplicates this instance.

参数

result?

CylinderGraphics

The object onto which to store the result.

返回

CylinderGraphics

The modified result parameter or a new instance if one was not provided.


merge()

merge(source: CylinderGraphics): void

Assigns each unassigned property on this object to the value of the same property on the provided source object.

参数

source

CylinderGraphics

The object to be merged into this object.

返回

void

构造函数

构造函数

new CylinderGraphics(options?: ConstructorOptions): CylinderGraphics

参数

options?

ConstructorOptions

返回

CylinderGraphics

KBE3D @3.0.0 Copyright © 2024-present KBE3D