Quaternion.op_Multiply

operator *

Operator overloading for *

public static Quaternion operator *(Quaternion lhs, double rhs)
ParameterTypeDescription
lhsQuaternionLeft quaternion
rhsDoubleRight quaternion

Return Value

Result quaternion

See Also


operator *

Operator overloading for *

public static Quaternion operator *(Quaternion lhs, Quaternion rhs)
ParameterTypeDescription
lhsQuaternionLeft quaternion
rhsQuaternionRight quaternion

Return Value

Result quaternion

See Also


operator *

Operator overloading for *

public static Vector3 operator *(Quaternion q, Vector3 v)
ParameterTypeDescription
qQuaternionThe rotation quaternion
vVector3Vector to rotate

Return Value

Rotated vector

See Also


operator *

Operator overloading for *

public static Vector4 operator *(Quaternion q, Vector4 v)
ParameterTypeDescription
qQuaternionThe rotation quaternion
vVector4Vector to rotate

Return Value

Rotated vector

See Also


operator *

Operator overloading for *

public static Vector3 operator *(Vector3 v, Quaternion q)
ParameterTypeDescription
vVector3The rotation quaternion
qQuaternionVector to rotate

Return Value

Rotated vector

See Also