Share via


Vector4.op_Multiply Method (Vector4, Single)

Multiplies a vector by a scalar.

Syntax

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

Parameters

  • value1
    Type: Vector4
    Source vector.
  • scaleFactor
    Type: Single
    Scalar value.

Return Value

Type: Vector4
Result of the multiplication.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone