part()
Creates an isolation boundary so shapes inside the part stay separate from the rest of the scene.
Returns: SceneObject
tip
See the guide for detailed usage examples.
Signatures
part(name: string, callback: () => void): SceneObject
Creates an isolation boundary so shapes inside the part stay separate from the rest of the scene.
| Parameter | Type | Description |
|---|---|---|
name | string | The part name. |
callback | () => void | Callback containing the part geometry. |