Windows apps
Collapse the table of content
Expand the table of content

Vector2::Multiply Operator (Single, Vector2)

Multiples the scalar value by the specified vector.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector2 operator *(
	float left, 
	Vector2 right
)

Parameters

left
Type: System::Single

The vector.

right
Type: System.Numerics::Vector2

The scalar value.

Return Value

Type: System.Numerics::Vector2
The scaled vector.

The Multiply method defines the multiplication operation for Vector2 objects.

Show:
© 2017 Microsoft