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

    How the ObjectStateManager's x-ray set is drawn (Viewer3d.setXRayVisualization): translucent faces and edges through the scene, independent of selection and of XRaySelectionVisualization. This is an overlay: the objects remain rendered normally underneath. Overlapping faces accumulate opacity. The ghost set (ObjectStateManager.addToGhostSet) is drawn with it too: ghosts are hidden, so for them the overlay is all there is.

    Index

    Constructors

    Properties

    color: Float32Array

    Normalized RGBA edge color.

    faceColor: Float32Array

    Normalized RGBA face color; alpha controls overlay opacity (clamped to 0..1 when rendered).

    facesEnabled: boolean

    Whether to draw the translucent faces. Defaults to true.

    wireframeEnabled: boolean

    Whether to draw the edges. Defaults to true.