Class: GoIFCHighlighter

GoIFCHighlighter

Class that handles IFC highlighting.

new GoIFCHighlighter(components, ui)

Interactions/IFC/interact/GoIFCComponents/Components/GoIFCHighlighter/index.ts, line 28

Constructor for GoIFCHighlighter.

Name Type Description
components Components

The components instance.

ui GoIFCUI

The UI instance.

Extends

  • undefined

Members

highlighter

Getter for highlighter property.

hoverIsEnabled

Getter for hoverIsEnabled property.

loader

Getter for loader property.

raycaster

Getter for raycaster property.

selectIsEnabled

Getter for selectIsEnabled property.

selectIsEnabled

Setter for selectIsEnabled property.

Methods

onHover(callBack)

Interactions/IFC/interact/GoIFCComponents/Components/GoIFCHighlighter/index.ts, line 459

Registers a callback for hover events.

Name Type Description
callBack function

The callback function.

onSelect(callBack)

Interactions/IFC/interact/GoIFCComponents/Components/GoIFCHighlighter/index.ts, line 467

Registers a callback for select events.

Name Type Description
callBack function

The callback function.