Class: Component
Hierarchy
- Component
Index
Methods
Methods
beforeExport
▸ beforeExport(): Promise‹void›
Defined in src/model/data/Component/Component.ts:12
Entrypoint for subclasses to modify the assembly before all plates in compositeModel are exported to SVG.
Returns: Promise‹void›
promise that should resolve when the component has done all its work
beforeInteractionStart
▸ beforeInteractionStart(tool: any, visualizationManager: any): Promise‹Assembly[]› | void
Defined in src/model/data/Component/Component.ts:29
is called on the Assembly's components of the interacted physical object before the tool interaction is started.
Parameters:
| Name | Type | Description |
|---|---|---|
tool |
any | the tool the user has currently selected |
visualizationManager |
any | to wake up the editor after creating new objects |
Returns: Promise‹Assembly[]› | void
promise that resolves to the newly created assemblies
beforeUpdateVisualizedModel
▸ beforeUpdateVisualizedModel(): void
Defined in src/model/data/Component/Component.ts:19
Entrypoint for subclasses to modify the assembly before rendering a frame.
Returns: void