Skip to main content

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.

ParameterTypeDescription
namestringThe part name.
callback() => voidCallback containing the part geometry.