[]
        
(Showing Draft Content)

C1.Util.DX.Vector4.MultiplyRef

MultiplyRef Method

MultiplyRef(out Vector4, ref Vector4, float)

Scales a vector by the given value.

Declaration
public static void MultiplyRef(out Vector4 result, ref Vector4 value, float scale)
Parameters
Type Name Description
Vector4 result

When the method completes, contains the scaled vector.

Vector4 value

The vector to scale.

float scale

The amount by which to scale the vector.

MultiplyRef(out Vector4, ref Vector4, ref Vector4)

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

Declaration
public static void MultiplyRef(out Vector4 result, ref Vector4 left, ref Vector4 right)
Parameters
Type Name Description
Vector4 result

When the method completes, contains the modulated vector.

Vector4 left

The first vector to modulate.

Vector4 right

The second vector to modulate.