Vector2IntExt ClassVector2Int extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.Unity.Math.Vector2IntExt
Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class Vector2IntExt
The Vector2IntExt type exposes the following members.
Properties
Name | Description | |
---|---|---|
NegativeInfinity | Representation of the negative infinity vector. | |
PositiveInfinity | Representation of the positive infinity vector. |
Methods
Name | Description | |
---|---|---|
Abs | Computes the absolute values of each vector component. | |
Clamp | Clamps the vector components between min and max values. | |
FillNanWith | Replaces NaN component values with other valid values. | |
IsInfinity | Checks whether any vector component stores an infinity value. | |
Parse | Parses a Vector2Int from a string. | |
ParseAsync | Tries to parse a Vector2Int from a string, asynchronously. | |
ToVector2Int | Transforms an array of ints to a Vector2Int component by component. | |
TryParse | Tries to parse a Vector2Int from a string. |