op_Multiply

Quaternion Multiply operator (1 of 5)

Operator overloading for *

public static Quaternion operator *(Quaternion lhs, double rhs)
Parameter Type Description
lhs Quaternion Left quaternion
rhs Double Right quaternion

Return Value

Result quaternion

See Also


Quaternion Multiply operator (2 of 5)

Operator overloading for *

public static Quaternion operator *(Quaternion lhs, Quaternion rhs)
Parameter Type Description
lhs Quaternion Left quaternion
rhs Quaternion Right quaternion

Return Value

Result quaternion

See Also


Quaternion Multiply operator (3 of 5)

Operator overloading for *

public static Vector3 operator *(Quaternion q, Vector3 v)
Parameter Type Description
q Quaternion The rotation quaternion
v Vector3 Vector to rotate

Return Value

Rotated vector

See Also


Quaternion Multiply operator (4 of 5)

Operator overloading for *

public static Vector4 operator *(Quaternion q, Vector4 v)
Parameter Type Description
q Quaternion The rotation quaternion
v Vector4 Vector to rotate

Return Value

Rotated vector

See Also


Quaternion Multiply operator (5 of 5)

Operator overloading for *

public static Vector3 operator *(Vector3 v, Quaternion q)
Parameter Type Description
v Vector3 The rotation quaternion
q Quaternion Vector to rotate

Return Value

Rotated vector

See Also