Edit

Share via


Vector3.Max(Vector3, Vector3) Method

Definition

Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors.

public:
 static System::Numerics::Vector3 Max(System::Numerics::Vector3 value1, System::Numerics::Vector3 value2);
public static System.Numerics.Vector3 Max (System.Numerics.Vector3 value1, System.Numerics.Vector3 value2);
static member Max : System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function Max (value1 As Vector3, value2 As Vector3) As Vector3

Parameters

value1
Vector3

The first vector.

value2
Vector3

The second vector.

Returns

The maximized vector.

Applies to