Design class
The Design class handles Design Document manipulation.
Signature:
declare class Design extends EventEmitter<DesignEvents>
Extends: EventEmitter<DesignEvents>
Remarks
This object offers a way to build, modify, and export Design Documents (which are JSON documents that describe how to build a Design).
Constructors
Constructor |
Modifiers |
Description |
---|---|---|
Design constructor. |
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
|
ModelInterface | undefined |
The currently associated ModelInterface. | |
|
A list of modifiers. | ||
|
A list of resources. |
Methods
Method |
Modifiers |
Description |
---|---|---|
Add a modifier to the design. | ||
Add a resource to the design. | ||
Apply an ResourceInterface to the design. | ||
Apply a GraphicResource to the design. | ||
Apply a MaterialResource to the design. | ||
Apply a PatternResource to the design. | ||
Apply a ZoneResource to the design. | ||
Apply an AssignableInterface to the design. | ||
Apply an AttachableInterface to the design. | ||
Destroy the design. | ||
List all meshes in the design. | ||
List all nodes in the design. | ||
List all zones in the design. | ||
Load any unloaded resources and modifiers. | ||
Move a modifier to a different position in the material stack. | ||
Remove a modifier from the design. | ||
Remove a resource from the design. | ||
Render the design. | ||
Reset the design to a baseline state. | ||
Set the model for this design. | ||
Serialize this design to a JSON design document. |