[]
        
(Showing Draft Content)

C1.Util.DX.Vector4.Multiply

Multiply Method

Multiply(Vector4, float)

Scales a vector by the given value.

Declaration
public static Vector4 Multiply(Vector4 value, float scale)
Public Shared Function Multiply(value As Vector4, scale As Single) As Vector4
Parameters
Type Name Description
Vector4 value

The vector to scale.

float scale

The amount by which to scale the vector.

Returns
Type Description
Vector4

The scaled vector.

Multiply(Vector4, Vector4)

Modulates a vector with another by performing component-wise multiplication.

Declaration
public static Vector4 Multiply(Vector4 left, Vector4 right)
Public Shared Function Multiply(left As Vector4, right As Vector4) As Vector4
Parameters
Type Name Description
Vector4 left

The first vector to modulate.

Vector4 right

The second vector to modulate.

Returns
Type Description
Vector4

The modulated vector.