Vector2.GreaterThanAny(Vector2, Vector2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two vectors to determine if any elements are greater.
public:
static bool GreaterThanAny(System::Numerics::Vector2 left, System::Numerics::Vector2 right);
public static bool GreaterThanAny(System.Numerics.Vector2 left, System.Numerics.Vector2 right);
static member GreaterThanAny : System.Numerics.Vector2 * System.Numerics.Vector2 -> bool
Public Shared Function GreaterThanAny (left As Vector2, right As Vector2) As Boolean
Parameters
- left
- Vector2
The vector to compare with right.
- right
- Vector2
The vector to compare with left.
Returns
true if any elements in left was greater than the corresponding element in right.