API Reference › Globals › ComponentDimensioningHelper
# Class: ComponentDimensioningHelper
# Hierarchy
- ComponentDimensioningHelper
# Implements
# Index
# Constructors
# Properties
# Methods
# Constructors
# constructor
+ new ComponentDimensioningHelper(creator
: string): ComponentDimensioningHelper
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:21
Parameters:
Name | Type |
---|---|
creator | string |
Returns: ComponentDimensioningHelper
# Properties
# creator
• creator: string
_Implementation of Context.creator_
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:12
# Methods
# add
▸ add(component
: RoomleComponent): boolean
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:31
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: boolean
# hasComponentDimensions
▸ hasComponentDimensions(): boolean
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:76
Returns: boolean
# invalidateDimensioningsCache
▸ invalidateDimensioningsCache(componentRuntimeId?
: number): void
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:87
Parameters:
Name | Type |
---|---|
componentRuntimeId? | number |
Returns: void
# remove
▸ remove(component
: RoomleComponent, remove
: boolean): Promise‹void›
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:55
Parameters:
Name | Type | Default |
---|---|---|
component | RoomleComponent | - |
remove | boolean | true |
Returns: Promise‹void›
# reset
▸ reset(): Promise‹void›
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:80
Returns: Promise‹void›
# setCamera
▸ setCamera(camera
: PerspectiveCamera): void
Defined in packages/configurator-core/src/utils/component-dimensioning-helper.ts:27
Parameters:
Name | Type |
---|---|
camera | PerspectiveCamera |
Returns: void