Methods
Model

setTransform

Applies a transform to the specified model.

Example



Usage

JS


Parameters

modelId

Id of the model to transform.

Type

Required

String

Yes

transform

Transform to apply.

Type

Required

Object

Yes

Properties

Name

Type

Required

Description

position

Vector3

No

Position to move to

rotation

Rotation

No

Rotation transform

scale

Vector3

No

Scale transform

type

Limit the type of model the transform applies to.

Type

Required

String

No

Valid values are:

  • bim
  • point-cloud