AudioMesh:setTransform

Edit

Sets the transform of the AudioMesh.




Set the transform using numbers.

Arguments

NameTypeDescription
xnumber The x component of the position.
ynumber The y component of the position.
znumber The z component of the position.
sxnumber The x component of the scale.
synumber The y component of the scale.
sznumber The z component of the scale.
anglenumber The number of radians the AudioMesh should be rotated around its rotation axis.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

Returns

Nothing

Set the transform using vectors.

Arguments

NameTypeDescription
positionvector The position.
scalevector The scale.
orientationquaternion The orientation.

Returns

Nothing

Set the transform using a matrix.

Arguments

NameTypeDescription
transformMat4 The transform.

Returns

Nothing

See also