Vector2.GreaterThan(Vector2, Vector2) Metoda

Definice

Porovná dva vektory a určí, který z prvků je větší.

public:
 static System::Numerics::Vector2 GreaterThan(System::Numerics::Vector2 left, System::Numerics::Vector2 right);
public static System.Numerics.Vector2 GreaterThan(System.Numerics.Vector2 left, System.Numerics.Vector2 right);
static member GreaterThan : System.Numerics.Vector2 * System.Numerics.Vector2 -> System.Numerics.Vector2
Public Shared Function GreaterThan (left As Vector2, right As Vector2) As Vector2

Parametry

left
Vector2

Vektor, který se má porovnat s left.

right
Vector2

Vektor, který se má porovnat s right.

Návraty

Vektor, jehož prvky jsou all-bits-set nebo nula, v závislosti na tom, zda jsou odpovídající prvky v left a right byly větší.

Platí pro