Inherits IEquatable< Vector2 >.
|
static Vector2 | operator- (Vector2 value) |
| Inverts values in the specified Vector2.
|
|
static Vector2 | operator+ (Vector2 value1, Vector2 value2) |
| Adds two vectors.
|
|
static Vector2 | operator- (Vector2 value1, Vector2 value2) |
| Subtracts a Vector2 from a Vector2.
|
|
static Vector2 | operator* (Vector2 value1, Vector2 value2) |
| Multiplies the components of two vectors by each other.
|
|
static Vector2 | operator* (Vector2 value, float scaleFactor) |
| Multiplies the components of vector by a scalar.
|
|
static Vector2 | operator* (float scaleFactor, Vector2 value) |
| Multiplies the components of vector by a scalar.
|
|
static Vector2 | operator/ (Vector2 value1, Vector2 value2) |
| Divides the components of a Vector2 by the components of another Vector2.
|
|
static Vector2 | operator/ (Vector2 value1, float divider) |
| Divides the components of a Vector2 by a scalar.
|
|
static bool | operator== (Vector2 value1, Vector2 value2) |
| Compares whether two Vector2 instances are equal.
|
|
static bool | operator!= (Vector2 value1, Vector2 value2) |
| Compares whether two Vector2 instances are not equal.
|
|
static Vector2 | Add (Vector2 value1, Vector2 value2) |
| Performs vector addition on value1 and value2 .
|
|
static void | Add (ref Vector2 value1, ref Vector2 value2, out Vector2 result) |
| Performs vector addition on value1 and value2 , storing the result of the addition in result .
|
|
static Vector2 | Barycentric (Vector2 value1, Vector2 value2, Vector2 value3, float amount1, float amount2) |
| Creates a new Vector2 that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 2d-triangle.
|
|
static void | Barycentric (ref Vector2 value1, ref Vector2 value2, ref Vector2 value3, float amount1, float amount2, out Vector2 result) |
| Creates a new Vector2 that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 2d-triangle.
|
|
static Vector2 | CatmullRom (Vector2 value1, Vector2 value2, Vector2 value3, Vector2 value4, float amount) |
| Creates a new Vector2 that contains CatmullRom interpolation of the specified vectors.
|
|
static void | CatmullRom (ref Vector2 value1, ref Vector2 value2, ref Vector2 value3, ref Vector2 value4, float amount, out Vector2 result) |
| Creates a new Vector2 that contains CatmullRom interpolation of the specified vectors.
|
|
static Vector2 | Ceiling (Vector2 value) |
| Creates a new Vector2 that contains members from another vector rounded towards positive infinity.
|
|
static void | Ceiling (ref Vector2 value, out Vector2 result) |
| Creates a new Vector2 that contains members from another vector rounded towards positive infinity.
|
|
static Vector2 | Clamp (Vector2 value1, Vector2 min, Vector2 max) |
| Clamps the specified value within a range.
|
|
static void | Clamp (ref Vector2 value1, ref Vector2 min, ref Vector2 max, out Vector2 result) |
| Clamps the specified value within a range.
|
|
static float | Distance (Vector2 value1, Vector2 value2) |
| Returns the distance between two vectors.
|
|
static void | Distance (ref Vector2 value1, ref Vector2 value2, out float result) |
| Returns the distance between two vectors.
|
|
static float | DistanceSquared (Vector2 value1, Vector2 value2) |
| Returns the squared distance between two vectors.
|
|
static void | DistanceSquared (ref Vector2 value1, ref Vector2 value2, out float result) |
| Returns the squared distance between two vectors.
|
|
static Vector2 | Divide (Vector2 value1, Vector2 value2) |
| Divides the components of a Vector2 by the components of another Vector2.
|
|
static void | Divide (ref Vector2 value1, ref Vector2 value2, out Vector2 result) |
| Divides the components of a Vector2 by the components of another Vector2.
|
|
static Vector2 | Divide (Vector2 value1, float divider) |
| Divides the components of a Vector2 by a scalar.
|
|
static void | Divide (ref Vector2 value1, float divider, out Vector2 result) |
| Divides the components of a Vector2 by a scalar.
|
|
static float | Dot (Vector2 value1, Vector2 value2) |
| Returns a dot product of two vectors.
|
|
static void | Dot (ref Vector2 value1, ref Vector2 value2, out float result) |
| Returns a dot product of two vectors.
|
|
static Vector2 | Floor (Vector2 value) |
| Creates a new Vector2 that contains members from another vector rounded towards negative infinity.
|
|
static void | Floor (ref Vector2 value, out Vector2 result) |
| Creates a new Vector2 that contains members from another vector rounded towards negative infinity.
|
|
static Vector2 | Hermite (Vector2 value1, Vector2 tangent1, Vector2 value2, Vector2 tangent2, float amount) |
| Creates a new Vector2 that contains hermite spline interpolation.
|
|
static void | Hermite (ref Vector2 value1, ref Vector2 tangent1, ref Vector2 value2, ref Vector2 tangent2, float amount, out Vector2 result) |
| Creates a new Vector2 that contains hermite spline interpolation.
|
|
static Vector2 | Lerp (Vector2 value1, Vector2 value2, float amount) |
| Creates a new Vector2 that contains linear interpolation of the specified vectors.
|
|
static void | Lerp (ref Vector2 value1, ref Vector2 value2, float amount, out Vector2 result) |
| Creates a new Vector2 that contains linear interpolation of the specified vectors.
|
|
static Vector2 | LerpPrecise (Vector2 value1, Vector2 value2, float amount) |
| Creates a new Vector2 that contains linear interpolation of the specified vectors.
|
|
static void | LerpPrecise (ref Vector2 value1, ref Vector2 value2, float amount, out Vector2 result) |
| Creates a new Vector2 that contains linear interpolation of the specified vectors.
|
|
static Vector2 | Max (Vector2 value1, Vector2 value2) |
| Creates a new Vector2 that contains a maximal values from the two vectors.
|
|
static void | Max (ref Vector2 value1, ref Vector2 value2, out Vector2 result) |
| Creates a new Vector2 that contains a maximal values from the two vectors.
|
|
static Vector2 | Min (Vector2 value1, Vector2 value2) |
| Creates a new Vector2 that contains a minimal values from the two vectors.
|
|
static void | Min (ref Vector2 value1, ref Vector2 value2, out Vector2 result) |
| Creates a new Vector2 that contains a minimal values from the two vectors.
|
|
static Vector2 | Multiply (Vector2 value1, Vector2 value2) |
| Creates a new Vector2 that contains a multiplication of two vectors.
|
|
static void | Multiply (ref Vector2 value1, ref Vector2 value2, out Vector2 result) |
| Creates a new Vector2 that contains a multiplication of two vectors.
|
|
static Vector2 | Multiply (Vector2 value1, float scaleFactor) |
| Creates a new Vector2 that contains a multiplication of Vector2 and a scalar.
|
|
static void | Multiply (ref Vector2 value1, float scaleFactor, out Vector2 result) |
| Creates a new Vector2 that contains a multiplication of Vector2 and a scalar.
|
|
static Vector2 | Negate (Vector2 value) |
| Creates a new Vector2 that contains the specified vector inversion.
|
|
static void | Negate (ref Vector2 value, out Vector2 result) |
| Creates a new Vector2 that contains the specified vector inversion.
|
|
static Vector2 | Normalize (Vector2 value) |
| Creates a new Vector2 that contains a normalized values from another vector.
|
|
static void | Normalize (ref Vector2 value, out Vector2 result) |
| Creates a new Vector2 that contains a normalized values from another vector.
|
|
static Vector2 | Reflect (Vector2 vector, Vector2 normal) |
| Creates a new Vector2 that contains reflect vector of the given vector and normal.
|
|
static void | Reflect (ref Vector2 vector, ref Vector2 normal, out Vector2 result) |
| Creates a new Vector2 that contains reflect vector of the given vector and normal.
|
|
static Vector2 | Round (Vector2 value) |
| Creates a new Vector2 that contains members from another vector rounded to the nearest integer value.
|
|
static void | Round (ref Vector2 value, out Vector2 result) |
| Creates a new Vector2 that contains members from another vector rounded to the nearest integer value.
|
|
static Vector2 | SmoothStep (Vector2 value1, Vector2 value2, float amount) |
| Creates a new Vector2 that contains cubic interpolation of the specified vectors.
|
|
static void | SmoothStep (ref Vector2 value1, ref Vector2 value2, float amount, out Vector2 result) |
| Creates a new Vector2 that contains cubic interpolation of the specified vectors.
|
|
static Vector2 | Subtract (Vector2 value1, Vector2 value2) |
| Creates a new Vector2 that contains subtraction of on Vector2 from a another.
|
|
static void | Subtract (ref Vector2 value1, ref Vector2 value2, out Vector2 result) |
| Creates a new Vector2 that contains subtraction of on Vector2 from a another.
|
|
static Vector2 | Transform (Vector2 position, Matrix matrix) |
| Creates a new Vector2 that contains a transformation of 2d-vector by the specified Matrix.
|
|
static void | Transform (ref Vector2 position, ref Matrix matrix, out Vector2 result) |
| Creates a new Vector2 that contains a transformation of 2d-vector by the specified Matrix.
|
|
static Vector2 | Transform (Vector2 value, Quaternion rotation) |
| Creates a new Vector2 that contains a transformation of 2d-vector by the specified Quaternion, representing the rotation.
|
|
static void | Transform (ref Vector2 value, ref Quaternion rotation, out Vector2 result) |
| Creates a new Vector2 that contains a transformation of 2d-vector by the specified Quaternion, representing the rotation.
|
|
static void | Transform (Vector2[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2[] destinationArray, int destinationIndex, int length) |
| Apply transformation on vectors within array of Vector2 by the specified Matrix and places the results in an another array.
|
|
static void | Transform (Vector2[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector2[] destinationArray, int destinationIndex, int length) |
| Apply transformation on vectors within array of Vector2 by the specified Quaternion and places the results in an another array.
|
|
static void | Transform (Vector2[] sourceArray, ref Matrix matrix, Vector2[] destinationArray) |
| Apply transformation on all vectors within array of Vector2 by the specified Matrix and places the results in an another array.
|
|
static void | Transform (Vector2[] sourceArray, ref Quaternion rotation, Vector2[] destinationArray) |
| Apply transformation on all vectors within array of Vector2 by the specified Quaternion and places the results in an another array.
|
|
static Vector2 | TransformNormal (Vector2 normal, Matrix matrix) |
| Creates a new Vector2 that contains a transformation of the specified normal by the specified Matrix.
|
|
static void | TransformNormal (ref Vector2 normal, ref Matrix matrix, out Vector2 result) |
| Creates a new Vector2 that contains a transformation of the specified normal by the specified Matrix.
|
|
static void | TransformNormal (Vector2[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2[] destinationArray, int destinationIndex, int length) |
| Apply transformation on normals within array of Vector2 by the specified Matrix and places the results in an another array.
|
|
static void | TransformNormal (Vector2[] sourceArray, ref Matrix matrix, Vector2[] destinationArray) |
| Apply transformation on all normals within array of Vector2 by the specified Matrix and places the results in an another array.
|
|