Vector2.GreaterThan(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 which is greater on a per-element basis.
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
Parameters
- left
- Vector2
The vector to compare with left.
- right
- Vector2
The vector to compare with right.
Returns
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater.