Skip to main content

use()

Instantiates a part created by part().

Returns: SceneObject

tip

See the guide for detailed usage examples.

Signatures

use(handle: PartHandle): SceneObject

Instantiates a part created by part().

ParameterTypeDescription
handlePartHandleThe part handle returned by part().

use(handle: PartHandle, options: T): SceneObject

Instantiates a part with options.

ParameterTypeDescription
handlePartHandleThe part handle returned by part().
optionsTOptions to pass to the part callback.