Vector2.op_Multiply Method (Single, Vector2)

Multiplies a vector by a scalar value.

Syntax

'Declaration
Public Shared Function op_Multiply ( _
         scaleFactor As Single, _
         value As Vector2 _
) As Vector2 
public static Vector2 op_Multiply (
         float scaleFactor,
         Vector2 value
)
public:
static Vector2 op_Multiply(
         float scaleFactor,
         Vector2 value
)

Parameters

  • scaleFactor
    Type: Single
    Scalar value.
  • value
    Type: Vector2
    Source vector.

Return Value

Type: Vector2
Result of the multiplication.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone