GeometryVisualizer

constructor(scene: Scene, entityCollection: EntityCollection, primitives: PrimitiveCollection? = definedExternally, groundPrimitives: PrimitiveCollection? = definedExternally)(source)

Parameters

scene

The scene the primitives will be rendered in.

entityCollection

The entityCollection to visualize.

primitives

A collection to add primitives related to the entities Default value - scene.primitives

groundPrimitives

A collection to add ground primitives related to the entities Default value - scene.groundPrimitives