BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Class FaceAndWireframeSelectionVisualization

    Draw opaque selected faces using a shared base color and optional thin edges in another color. Faces retain normal surface lighting and two-sided shading; the displayed color varies with lighting. Faces are depth-tested against the scene; edges remain visible through occluders. The highlight replaces original/user colors without modifying them, including for transparent objects. Face alpha is ignored (always opaque); wireframe alpha controls outline opacity.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    color: Float32Array

    Normalized RGBA wireframe color.

    extendedObbColor: Float32Array

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

    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. 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.

    faceColor: Float32Array

    Normalized RGBA face color; alpha is always 1. The inherited color is the wireframe color.

    wireframeEnabled: boolean

    Whether to draw selection edges. Defaults to true; set false for faces only. Reapply with setSelectionVisualization after changing this flag. No wireframe pass runs when false.