Skip to content

KBE3D / KBCore / Cesium / PointGraphics

类: PointGraphics

Describes a graphical point located at the position of 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 point.


pixelSize

pixelSize: Property | undefined

Gets or sets the numeric Property specifying the size in pixels.


heightReference

heightReference: Property | undefined

Gets or sets the Property specifying the HeightReference.


color

color: Property | undefined

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


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 the outline width in pixels.


scaleByDistance

scaleByDistance: Property | undefined

Gets or sets the NearFarScalar Property used to scale the point based on distance. If undefined, a constant size is used.


translucencyByDistance

translucencyByDistance: Property | undefined

Gets or sets NearFarScalar Property specifying the translucency of the point based on the distance from the camera. A point's translucency will interpolate between the NearFarScalar#nearValue and NearFarScalar#farValue while the camera distance falls within the lower and upper bounds of the specified NearFarScalar#near and NearFarScalar#far. Outside of these ranges the points's translucency remains clamped to the nearest bound.


distanceDisplayCondition

distanceDisplayCondition: Property | undefined

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


disableDepthTestDistance

disableDepthTestDistance: Property | undefined

Gets or sets the distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain. When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied.


splitDirection

splitDirection: Property | undefined

Gets or sets the Property specifying the SplitDirection of this point.

方法

clone()

clone(result?: PointGraphics): PointGraphics

Duplicates this instance.

参数

result?

PointGraphics

The object onto which to store the result.

返回

PointGraphics

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


merge()

merge(source: PointGraphics): void

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

参数

source

PointGraphics

The object to be merged into this object.

返回

void

构造函数

构造函数

new PointGraphics(options?: ConstructorOptions): PointGraphics

参数

options?

ConstructorOptions

返回

PointGraphics

KBE3D @3.0.0 Copyright © 2024-present KBE3D