Edit

Share via


Vector4.Multiply Operator

Definition

Performs a multiplication operation on a vector.

Overloads

Multiply(Vector4, Vector4)

Returns a new vector whose values are the product of each pair of elements in two specified vectors.

Multiply(Vector4, Single)

Multiples the specified vector by the specified scalar value.

Multiply(Single, Vector4)

Multiples the scalar value by the specified vector.

Multiply(Vector4, Vector4)

Source:
Vector4.cs
Source:
Vector4.cs
Source:
Vector4.cs

Returns a new vector whose values are the product of each pair of elements in two specified vectors.

public:
 static System::Numerics::Vector4 operator *(System::Numerics::Vector4 left, System::Numerics::Vector4 right);
public static System.Numerics.Vector4 operator * (System.Numerics.Vector4 left, System.Numerics.Vector4 right);
static member ( * ) : System.Numerics.Vector4 * System.Numerics.Vector4 -> System.Numerics.Vector4
Public Shared Operator * (left As Vector4, right As Vector4) As Vector4

Parameters

left
Vector4

The first vector.

right
Vector4

The second vector.

Returns

The element-wise product vector.

Remarks

The Multiply method defines the multiplication operation for Vector4 objects.

Applies to

Multiply(Vector4, Single)

Source:
Vector4.cs
Source:
Vector4.cs
Source:
Vector4.cs

Multiples the specified vector by the specified scalar value.

public:
 static System::Numerics::Vector4 operator *(System::Numerics::Vector4 left, float right);
public static System.Numerics.Vector4 operator * (System.Numerics.Vector4 left, float right);
static member ( * ) : System.Numerics.Vector4 * single -> System.Numerics.Vector4
Public Shared Operator * (left As Vector4, right As Single) As Vector4

Parameters

left
Vector4

The vector.

right
Single

The scalar value.

Returns

The scaled vector.

Remarks

The Multiply method defines the multiplication operation for Vector4 objects.

Applies to

Multiply(Single, Vector4)

Source:
Vector4.cs
Source:
Vector4.cs
Source:
Vector4.cs

Multiples the scalar value by the specified vector.

public:
 static System::Numerics::Vector4 operator *(float left, System::Numerics::Vector4 right);
public static System.Numerics.Vector4 operator * (float left, System.Numerics.Vector4 right);
static member ( * ) : single * System.Numerics.Vector4 -> System.Numerics.Vector4
Public Shared Operator * (left As Single, right As Vector4) As Vector4

Parameters

left
Single

The vector.

right
Vector4

The scalar value.

Returns

The scaled vector.

Remarks

The Multiply method defines the multiplication operation for Vector4 objects.

Applies to