Method Multiply
Multiply(Quaternion, Quaternion)
Modulates a quaternion by another.
Declaration
public static Quaternion Multiply(Quaternion left, Quaternion right)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | left | The first quaternion to modulate. |
| Quaternion | right | The second quaternion to modulate. |
Returns
| Type | Description |
|---|---|
| Quaternion | The modulated quaternion. |
Multiply(Quaternion, Single)
Scales a quaternion by the given value.
Declaration
public static Quaternion Multiply(Quaternion quaternion, float scale)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | quaternion | The quaternion to scale. |
| System.Single | scale | The amount by which to scale the quaternion. |
Returns
| Type | Description |
|---|---|
| Quaternion | The scaled quaternion. |