Skip to content

KBE3D / KBCore / Cesium / PathGraphics

类: PathGraphics

Describes a polyline defined as the path made by an Entity as it moves over time.

参数

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 path.


leadTime

leadTime: Property | undefined

Gets or sets the Property specifying the number of seconds in front of the object to show.


trailTime

trailTime: Property | undefined

Gets or sets the Property specifying the number of seconds behind the object to show.


width

width: Property | undefined

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


resolution

resolution: Property | undefined

Gets or sets the Property specifying the maximum number of seconds to step when sampling the position.


material

material: MaterialProperty

Gets or sets the Property specifying the material used to draw the path.


distanceDisplayCondition

distanceDisplayCondition: Property | undefined

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

方法

clone()

clone(result?: PathGraphics): PathGraphics

Duplicates this instance.

参数

result?

PathGraphics

The object onto which to store the result.

返回

PathGraphics

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


merge()

merge(source: PathGraphics): void

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

参数

source

PathGraphics

The object to be merged into this object.

返回

void

构造函数

构造函数

new PathGraphics(options?: ConstructorOptions): PathGraphics

参数

options?

ConstructorOptions

返回

PathGraphics

KBE3D @3.0.0 Copyright © 2024-present KBE3D