Skip to content

Math.QuatMultiply

Name Mandatory Description Default Type
⬅️ Input Takes a float4 vector representing the quaternion to be multiplied. Float4
Output ➡️ Outputs a float4 vector representing the resulting quaternion after multiplication. Float4
Operand No The float4 vector representing the second quaternion to multiply the input quaternion with. none Float4Var(Float4)

This shard multiplies two quaternions (represented as float4 vectors) together. It combines the two rotations by multiplying the input quaternion with the operand quaternion. A float4 vector is a vector with 4 float elements.