| QuaternionFMultiply Method (Single, QuaternionF) |
Multiplies a quaternion by a scalar.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionF Multiply(
float scalar,
QuaternionF quaternion
)
Public Shared Function Multiply (
scalar As Single,
quaternion As QuaternionF
) As QuaternionF
public:
static QuaternionF Multiply(
float scalar,
QuaternionF quaternion
)
static member Multiply :
scalar : float32 *
quaternion : QuaternionF -> QuaternionF
Parameters
- scalar
- Type: SystemSingle
The scalar. - quaternion
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The quaternion.
Return Value
Type:
QuaternionF
The quaternion with each component multiplied by
scalar.
See Also