Constructor
new Configurator(reporter, settings)
Parameters:
| Name |
Type |
Description |
reporter |
Reporter
|
|
settings |
Object
|
Properties
| Name |
Type |
Attributes |
Description |
id |
UUID
|
<optional>
|
|
pkg |
Package
|
|
|
configuration |
Configuration
|
<optional>
|
|
position |
Vector3
|
<optional>
|
|
quaternion |
Quaternion
|
<optional>
|
|
|
- Source:
Extends
Members
Type:
- Source:
body :Group
Type:
- Overrides:
- Source:
Current configuration
Type:
- Source:
position :Vector3
Current position
Type:
- Source:
quaternion :Quaternion
Current quaternion
Type:
- Source:
visible :Boolean
Type:
- Overrides:
- Source:
Methods
(async) cut(option) → {Promise.<CutResult>}
Applies an insert option to the current configurations
Parameters:
| Name |
Type |
Description |
option |
module:configurator/configuration~CutOption
|
|
- Source:
Returns:
-
Type
-
Promise.<CutResult>
Applies an insert option to the current configurations
Parameters:
| Name |
Type |
Description |
option |
module:configurator/configuration~ExtendOption
|
|
- Source:
Returns:
-
Type
-
Promise.<GenericUpdateResult>
Applies an insert option to the current configurations
Parameters:
| Name |
Type |
Description |
option |
module:configurator/configuration~InsertOption
|
|
- Source:
Returns:
-
Type
-
Promise.<GenericUpdateResult>
Merge another configuration into this one
Parameters:
- Source:
Returns:
-
Type
-
Configuration
(async) onStateCursorMoved(selectedState)
Parameters:
| Name |
Type |
Description |
selectedState |
Object
|
|
- Source:
(async) split(option) → {Promise.<SplitResult>}
Applies an insert option to the current configurations
Parameters:
| Name |
Type |
Description |
option |
module:configurator/configuration~SplitOption
|
|
- Source:
Returns:
-
Type
-
Promise.<SplitResult>
(async) update(newConfiguration, description, modTransform) → {Promise.<Object>}
Parameters:
| Name |
Type |
Description |
newConfiguration |
Configuration
|
|
description |
string
|
|
modTransform |
Object
|
Properties
| Name |
Type |
Description |
translation |
Vector3
|
|
quaternion |
Quaternion
|
|
|
- Source:
Returns:
-
Type
-
Promise.<Object>
(async) updateBody(newContent)
Parameters:
| Name |
Type |
Description |
newContent |
Object3D
|
|
- Overrides:
- Source: