Vector2.IsPositive(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.
Determines which elements in a vector represents positive real numbers.
public:
static System::Numerics::Vector2 IsPositive(System::Numerics::Vector2 vector);
public static System.Numerics.Vector2 IsPositive(System.Numerics.Vector2 vector);
static member IsPositive : System.Numerics.Vector2 -> System.Numerics.Vector2
Public Shared Function IsPositive (vector As Vector2) As Vector2
Parameters
- vector
- Vector2
The vector to be checked.
Returns
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in vector were positive.