Class Vector2Extensions
Extension methods for Vector2.
[Version(1, 2, 0)]
public static class Vector2Extensions
- Inheritance
-
Vector2Extensions
- Inherited Members
Methods
FloorToVectorPoint(Vector2)
Floors each component and returns the corresponding VectorPoint.
[Version(1, 7, 0)]
public static VectorPoint FloorToVectorPoint(this Vector2 vec)
Parameters
vecVector2
Returns
HadamardDiv(Vector2, VectorPoint)
public static Vector2 HadamardDiv(this Vector2 thisVector, VectorPoint otherVector)
Parameters
thisVectorVector2otherVectorVectorPoint
Returns
HadamardMul(Vector2, VectorPoint)
public static Vector2 HadamardMul(this Vector2 thisVector, VectorPoint otherVector)
Parameters
thisVectorVector2otherVectorVectorPoint
Returns
PerpDot(Vector2, Vector2)
public static float PerpDot(this Vector2 thisVector, Vector2 otherVector)