API ReferenceGlobalsComponentRaycastHelper

# Class: ComponentRaycastHelper

# Hierarchy

  • ComponentRaycastHelper

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new ComponentRaycastHelper(): ComponentRaycastHelper

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:14

Returns: ComponentRaycastHelper

# Methods

# areAllPreviewsVisible

areAllPreviewsVisible(configuratorViewModel: ConfiguratorViewModel): boolean

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:115

Parameters:

Name Type
configuratorViewModel ConfiguratorViewModel

Returns: boolean


# changeMaterialsOnSelect

changeMaterialsOnSelect(object: Object3D, component: RoomleComponent, selected: boolean): void

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:30

Parameters:

Name Type Default
object Object3D -
component RoomleComponent -
selected boolean false

Returns: void


# checkComponentAndPreviewVisibility

checkComponentAndPreviewVisibility(sceneEventHandler: ConfiguratorSceneEventHandler, configuratorViewModel: ConfiguratorViewModel): void

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:89

Parameters:

Name Type
sceneEventHandler ConfiguratorSceneEventHandler
configuratorViewModel ConfiguratorViewModel

Returns: void


# checkComponentVisibility

checkComponentVisibility(sceneEventHandler: ConfiguratorSceneEventHandler, configuratorViewModel: ConfiguratorViewModel): void

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:99

Parameters:

Name Type
sceneEventHandler ConfiguratorSceneEventHandler
configuratorViewModel ConfiguratorViewModel

Returns: void


# checkPreviewVisibility

checkPreviewVisibility(configuratorViewModel: ConfiguratorViewModel): void

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:126

Parameters:

Name Type
configuratorViewModel ConfiguratorViewModel

Returns: void


# init

init(scene: Scene, camera: PerspectiveCamera): void

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:22

Parameters:

Name Type
scene Scene
camera PerspectiveCamera

Returns: void


# isComponentVisible

isComponentVisible(component: RoomleComponent): boolean

Defined in packages/configurator-core/src/utils/component-raycast-helper.ts:63

Parameters:

Name Type
component RoomleComponent

Returns: boolean