Class Vector2Extensions
Extension methods for the Vector2 type.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class Vector2Extensions
Methods
Name | Description |
---|---|
Abs(Vector2) | Returns the component-wise absolute value of this vector [abs(x), abs(y)]. |
Inverse(Vector2) | Returns the component-wise inverse of this vector [1/x, 1/y]. |
MaxComponent(Vector2) | Returns the largest component of this vector. |
MinComponent(Vector2) | Returns the smallest component of this vector. |