Reference·JavaScript · @bimworks/viewercommonJavaScript

WireframeSelectionVisualization

Class in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Class

Draw selected object edges over the scene, including occluded edges. Face colors are unchanged.

Inheritance and interfaces#

  • SelectionVisualization

Members#

Member Kind Description
constructor Method overwrites: SelectionVisualization.constructor
color Property Normalized RGBA wireframe color.
extendedObbColor Property Normalized RGBA extended OBB line color (four channels, 0..1). Defaults to orange (#ff8000). inheritedFrom: SelectionVisualization.extendedObbColor
extendedObbEnabled Property Draw a thin wireframe around each selected, visible object's extended oriented bounding box. Independent of face/edge highlighting, including NoneSelectionVi…

constructor#

TypeScript#
constructor(color: SelectionColor)

overwrites: SelectionVisualization.constructor

Parameters#

Name Type Description
color SelectionColor

color#

TypeScript#
color: Float32Array

Normalized RGBA wireframe color.

extendedObbColor#

TypeScript#
extendedObbColor: Float32Array

Normalized RGBA extended OBB line color (four channels, 0..1). Defaults to orange (#ff8000).

inheritedFrom: SelectionVisualization.extendedObbColor

extendedObbEnabled#

TypeScript#
extendedObbEnabled: boolean

Draw a thin wireframe around each selected, visible object's extended oriented bounding box. Independent of face/edge highlighting, including NoneSelectionVisualization. Defaults to false. Reapply with setSelectionVisualization after changing this flag or the color.

inheritedFrom: SelectionVisualization.extendedObbEnabled