Windows apps
Collapse the table of content
Expand the table of content

Vector2::Abs Method

Returns a vector whose elements are the absolute values of each of the specified vector's elements.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector2 Abs(
	Vector2 value
)

Parameters

value
Type: System.Numerics::Vector2

A vector.

Return Value

Type: System.Numerics::Vector2
The absolute value vector.
Show:
© 2017 Microsoft