[]
        
(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)
Public Shared Sub MultiplyRef(ByRef result As Vector4, ByRef value As Vector4, scale As Single)
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)
Public Shared Sub MultiplyRef(ByRef result As Vector4, ByRef left As Vector4, ByRef right As Vector4)
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.