Appearance
KBE3D / KBCore / Cesium / GeometryVisualizer
类: GeometryVisualizer
A general purpose visualizer for geometry represented by Primitive instances.
参数
The scene the primitives will be rendered in.
参数
The entityCollection to visualize.
参数
A collection to add primitives related to the entities
参数
A collection to add ground primitives related to the entities
方法
update()
update(
time:JulianDate):boolean
Updates all of the primitives created by this visualizer to match their Entity counterpart at the given time.
参数
time
The time to update to.
返回
boolean
True if the visualizer successfully updated to the provided time, false if the visualizer is waiting for asynchronous primitives to be created.
isDestroyed()
isDestroyed():
boolean
Returns true if this object was destroyed; otherwise, false.
返回
boolean
True if this object was destroyed; otherwise, false.
destroy()
destroy():
void
Removes and destroys all primitives created by this instance.
返回
void
构造函数
构造函数
new GeometryVisualizer(
scene:Scene,entityCollection:EntityCollection,primitives?:PrimitiveCollection,groundPrimitives?:PrimitiveCollection):GeometryVisualizer
参数
scene
entityCollection
primitives?
groundPrimitives?
返回
GeometryVisualizer
