FatWireframeSelectionVisualization
Class in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Class
class FatWireframeSelectionVisualizationThick selection edges. Requires settings.fatWireframes.enabled; available through the SDK.
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#
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#
color: Float32ArrayNormalized RGBA wireframe color.
extendedObbColor#
extendedObbColor: Float32ArrayNormalized RGBA extended OBB line color (four channels, 0..1). Defaults to orange (#ff8000).
inheritedFrom: SelectionVisualization.extendedObbColor
extendedObbEnabled#
extendedObbEnabled: booleanDraw a thin wireframe around each selected, visible object's extended oriented bounding box. Independent of face/edge highlighting, including NoneSelectionVisualization. Defaults to false. Each half-extent grows by 1% of the longest full side, preserving orientation and center, including for planar objects. Objects without a non-empty OBB are skipped. Boxes follow model placement and remain visible through occluders and section planes. Cached instance buffers use one draw per model/layer; color and camera changes do not rebuild them. Reapply with setSelectionVisualization after changing this flag or the color.
inheritedFrom: SelectionVisualization.extendedObbEnabled
thickness#
thickness: number