Source:setOrientation

Edit

Sets the orientation of the Source in angle/axis representation.



Set the orientation using angle/axis numbers.

Arguments

NameTypeDescription
anglenumber The number of radians the Source 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 orientation using a quaternion.

Arguments

NameTypeDescription
orientationquaternion The orientation.

Returns

Nothing

See also