ComposedAsset
Represents a composed asset.
Properties
public assetPaths: any
Gets the paths of the assets.
public primPath: any
Gets the path to the primitive in the current scene.
Methods
public setRotateXYZ(rotation): void (opens in a new tab)
Sets the rotation of the asset along the X, Y, and Z axes.
Parameter | Type | Optional | Description |
---|---|---|---|
rotation | Array (opens in a new tab)<number (opens in a new tab)> | ❌ | The rotation values in an array. |
public setTranslate(translation): void (opens in a new tab)
Sets the translation of the asset.
Parameter | Type | Optional | Description |
---|---|---|---|
translation | Array (opens in a new tab)<number (opens in a new tab)> | ❌ | The translation values in an array. |