Reference·JavaScript · @bimworks/viewercommonJavaScript

FatWireframeSelectionVisualization

Class in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Class

Thick selection edges. Requires the viewer setting fatWireframes.enabled

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…
thickness Property

constructor#

TypeScript#
constructor(thickness: number, color: SelectionColor)

overwrites: SelectionVisualization.constructor

Parameters#

Name Type Description
thickness number Screen-relative line thickness (e.g. 0.003).
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

thickness#

TypeScript#
thickness: number