Vector3.Multiply Method (Vector3, Single)

Multiplies a vector by a scalar value.

Syntax

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

Parameters

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

Return Value

Type: Vector3
Result of the multiplication.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone