Share via


Vector2.op_Multiply(Single,Vector2) Method (Microsoft.DirectX)

Determines the product of a single value and a 2-D vector.

Definition

Visual Basic Public Shared Function op_Multiply( _
    ByVal right As Single, _
    ByVal left As Vector2 _
) As Vector2
C# public static Vector2 op_Multiply(
    float right,
    Vector2 left
);
C++ public:
static Vector2 operator*(
    float right,
    Vector2 left
);
JScript public static function op_Multiply(
    right : float,
    left : Vector2
) : Vector2;

Parameters

right System.Single
Source SingleLeave Site structure.
left Microsoft.DirectX.Vector2
Source Vector2 structure.

Return Value

Microsoft.DirectX.Vector2
A Vector2 structure that is the product of the right and left parameters.