Methods
Model

loadUrl

Loads a model from a URL.

By default removes existing models before loading the new model.

Example



Usage

JS


Parameters

url

URL to the model.

Type

Required

String

Yes

options

Options for loading the model.

Type

Required

Object

No

Properties

Name

Type

Required

Description

append

Boolean

No

Append model to existing loaded models

modelId

String

No

User provided id for the loaded model

modelName

String

No

User provided name for the loaded model

Return Value

Promise that resolves to a list of model information for the loaded models.

Type

Promise => Array[Object]

modelInfo

Name

Type

Description

id

String

Id of the loaded model

boundingBox

Box3

Bounding box of the loaded model



Updated 12 Sep 2024
Did this page help you?