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