Vector2.op_Multiply Method

Language:

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 Single Leave Site structure.

Return Value

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center