Share via


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

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

Definition

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

Parameters

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

Return Value

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