[]
        
(Showing Draft Content)

C1.Util.DX.Vector3.Multiply

Multiply Method

Multiply(Vector3, float)

Scales a vector by the given value.

Declaration
public static Vector3 Multiply(Vector3 value, float scale)
Parameters
Type Name Description
Vector3 value

The vector to scale.

float scale

The amount by which to scale the vector.

Returns
Type Description
Vector3

The scaled vector.

Multiply(out Vector3, ref Vector3, ref Vector3)

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

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

When the method completes, contains the modulated vector.

Vector3 left

The first vector to modulate.

Vector3 right

The second vector to modulate.

Multiply(Vector3, Vector3)

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

Declaration
public static Vector3 Multiply(Vector3 left, Vector3 right)
Parameters
Type Name Description
Vector3 left

The first vector to modulate.

Vector3 right

The second vector to modulate.

Returns
Type Description
Vector3

The modulated vector.