[]
        
(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)
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)
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.