RoomleConfigurator.Internal.default-21

configurator-core/src/roomle-configurator.internal.default

Table of contents

Constructors

Methods

Constructors

constructor

new default()

Methods

areAllComponentsInFrustum

areAllComponentsInFrustum(previews): boolean

Parameters

Name
Type

previews

Returns

boolean


areAllPreviewsVisible

areAllPreviewsVisible(configuratorViewModel): boolean

Parameters

Name
Type

configuratorViewModel

Returns

boolean


changeMaterialsOnSelect

changeMaterialsOnSelect(object, component, selected?, callback?): void

Parameters

Name
Type
Default value

object

Object3D<Object3DEventMap>

undefined

component

undefined

selected

boolean

false

callback?

() => void

undefined

Returns

void


checkComponentAndPreviewVisibility

checkComponentAndPreviewVisibility(sceneEventHandler, configuratorViewModel): void

Parameters

Name
Type

sceneEventHandler

configuratorViewModel

Returns

void


checkComponentVisibility

checkComponentVisibility(sceneEventHandler, configuratorViewModel): void

Parameters

Name
Type

sceneEventHandler

configuratorViewModel

Returns

void


checkPreviewVisibility

checkPreviewVisibility(configuratorViewModel): void

Parameters

Name
Type

configuratorViewModel

Returns

void


init

init(object, camera): void

Parameters

Name
Type

object

Object3D<Object3DEventMap>

camera

PerspectiveCamera

Returns

void


isComponentVisible

isComponentVisible(component): boolean

Parameters

Name
Type

component

Returns

boolean


setCamera

setCamera(camera): void

Parameters

Name
Type

camera

PerspectiveCamera

Returns

void


setObject

setObject(object): void

Parameters

Name
Type

object

Object3D<Object3DEventMap>

Returns

void

Last updated