AudioMesh:setTransform
EditSets the transform of the AudioMesh.
Set the transform using numbers.
Arguments
| Name | Type | Description |
| x | number | The x component of the position. |
| y | number | The y component of the position. |
| z | number | The z component of the position. |
| sx | number | The x component of the scale. |
| sy | number | The y component of the scale. |
| sz | number | The z component of the scale. |
| angle | number | The number of radians the AudioMesh should be rotated around its rotation axis. |
| ax | number | The x component of the axis of rotation. |
| ay | number | The y component of the axis of rotation. |
| az | number | The z component of the axis of rotation. |
Returns
Nothing
Set the transform using vectors.
Arguments
| Name | Type | Description |
| position | vector | The position. |
| scale | vector | The scale. |
| orientation | quaternion | The orientation. |
Returns
Nothing
Set the transform using a matrix.
Arguments
| Name | Type | Description |
| transform | Mat4 | The transform. |
Returns
Nothing