API ReferenceGlobalsUiIntersectionHelper

# Class: UiIntersectionHelper

# Hierarchy

# Index

# Constructors

# Properties

# Accessors

# Methods

# Constructors

# constructor

+ new UiIntersectionHelper(camera: PerspectiveCamera): UiIntersectionHelper

Defined in packages/configurator-core/src/utils/ui-intersection-helper.ts:22

Parameters:

Name Type
camera PerspectiveCamera

Returns: UiIntersectionHelper

# Properties

# floorEnvironment

floorEnvironment: boolean = false

Defined in packages/configurator-core/src/utils/ui-intersection-helper.ts:22

# Accessors

# canvasOffset

set canvasOffset(offset: CanvasOffset): void

Defined in packages/configurator-core/src/utils/ui-intersection-helper.ts:46

Parameters:

Name Type
offset CanvasOffset

Returns: void

# Methods

# addEventListener

addEventListener(eventName: number, callback: ListenerFunctionUIIntersections›, scope: any): void

Inherited from EventDispatcher.addEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:29

Parameters:

Name Type
eventName number
callback ListenerFunctionUIIntersections
scope any

Returns: void


# calculateUIIntersection

calculateUIIntersection(): void

Defined in packages/configurator-core/src/utils/ui-intersection-helper.ts:51

Returns: void


# disableEvents

disableEvents(): void

Inherited from EventDispatcher.disableEvents

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:67

Returns: void


# dispatchEvent

dispatchEvent(eventName: number, arg?: UIIntersections): void

Inherited from EventDispatcher.dispatchEvent

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:33

Parameters:

Name Type
eventName number
arg? UIIntersections

Returns: void


# enableEvents

enableEvents(): void

Inherited from EventDispatcher.enableEvents

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:63

Returns: void


# removeEventListener

removeEventListener(eventName: number, fun: ListenerFunctionUIIntersections›): void

Inherited from EventDispatcher.removeEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:49

Parameters:

Name Type
eventName number
fun ListenerFunctionUIIntersections

Returns: void


# updateToBounds

updateToBounds(bounds: Vector3, clientWidth: number, clientHeight: number): void

Defined in packages/configurator-core/src/utils/ui-intersection-helper.ts:29

Parameters:

Name Type
bounds Vector3
clientWidth number
clientHeight number

Returns: void