| Vector4FMultiply Method (Single, Vector4F) |
Multiplies a vector 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 Vector4F Multiply(
float scalar,
Vector4F vector
)
Public Shared Function Multiply (
scalar As Single,
vector As Vector4F
) As Vector4F
public:
static Vector4F Multiply(
float scalar,
Vector4F vector
)
static member Multiply :
scalar : float32 *
vector : Vector4F -> Vector4F
Parameters
- scalar
- Type: SystemSingle
The scalar. - vector
- Type: DigitalRune.Mathematics.AlgebraVector4F
The vector.
Return Value
Type:
Vector4FThe vector with each component multiplied by
scalar.
See Also