Last updated 1 month ago
Sets the scale of an object base on given x, y, z values.
setScale( objectName: string, scale: Vector3, ): Promise<void>
objectName
Specifies what object do we want to retrieve the information from.
string
scale
x, y, z values of the new scale.
Usage:
await modelApi.setScale('Box', { x: 1.5, y: 2, z: 1 });
Vector3