| QuaternionDMultiply Method (Double, QuaternionD) |
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 QuaternionD Multiply(
double scalar,
QuaternionD quaternion
)
Public Shared Function Multiply (
scalar As Double,
quaternion As QuaternionD
) As QuaternionD
public:
static QuaternionD Multiply(
double scalar,
QuaternionD quaternion
)
static member Multiply :
scalar : float *
quaternion : QuaternionD -> QuaternionD
Parameters
- scalar
- Type: SystemDouble
The scalar. - quaternion
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The quaternion.
Return Value
Type:
QuaternionD
The quaternion with each component multiplied by
scalar.
See Also