| Vector2FMultiply Operator (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 operator *(
float scalar,
Vector2F vector
)
Public Shared Operator * (
scalar As Single,
vector As Vector2F
) As Vector2F
public:
static Vector2F operator *(
float scalar,
Vector2F vector
)
static let inline (*)
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