.gif) |
Add |
Overloaded. Adds two vectors. |
.gif) |
Barycentric |
Overloaded. Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in 2D barycentric (areal) coordinates. |
.gif) |
CatmullRom |
Overloaded. Performs a Catmull-Rom interpolation using the specified positions. |
.gif) |
Clamp |
Overloaded. Restricts a value to be within a specified range. |
.gif) |
Distance |
Overloaded. Calculates the distance between two vectors. |
.gif) |
DistanceSquared |
Overloaded. Calculates the distance between two vectors squared. |
.gif) |
Divide |
Overloaded. Divides a vector by a scalar or another vector. |
.gif) |
Dot |
Overloaded. Calculates the dot product of two vectors. If the two vectors are unit vectors, the dot product returns a floating point value between -1 and 1 that can be used to determine some properties of the angle between two vectors. For example, it can show whether the vectors are orthogonal, parallel, or have an acute or obtuse angle between them. |
.gif) |
Equals |
Overloaded. Returns a value that indicates whether the current instance is equal to a specified object. |
.gif) |
GetHashCode |
Gets the hash code of the vector object. |
.gif) |
GetType |
(Inherited from Object.) |
.gif) |
Hermite |
Overloaded. Performs a Hermite spline interpolation. |
.gif) |
Length |
Calculates the length of the vector. |
.gif) |
LengthSquared |
Calculates the length of the vector squared. |
.gif) |
Lerp |
Overloaded. Performs a linear interpolation between two vectors. |
.gif) |
Max |
Overloaded. Returns a vector that contains the highest value from each matching pair of components. |
.gif) |
Min |
Overloaded. Returns a vector that contains the lowest value from each matching pair of components. |
.gif) |
Multiply |
Overloaded. Multiplies a vector by a scalar or another vector. |
.gif) |
Negate |
Overloaded. Returns a vector pointing in the opposite direction. |
.gif) |
Normalize |
Overloaded. Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector. |
.gif) |
op_Addition |
Adds two vectors. |
.gif) |
op_Division |
Overloaded. Divide a vector by a scalar or another vector. |
.gif) |
op_Equality |
Tests vectors for equality. |
.gif) |
op_Inequality |
Tests vectors for inequality. |
.gif) |
op_Multiply |
Overloaded. Multiplies a vector by a scalar or another vector. |
.gif) |
op_Subtraction |
Subtracts a vector from a vector. |
.gif) |
op_UnaryNegation |
Returns a vector pointing in the opposite direction. |
.gif) |
Reflect |
Overloaded. Determines the reflect vector of the given vector and normal. |
.gif) |
SmoothStep |
Overloaded. Interpolates between two values using a cubic equation. |
.gif) |
Subtract |
Overloaded. Subtracts a vector from a vector. |
.gif) |
ToString |
Retrieves a string representation of the current object. |
.gif) |
Transform |
Overloaded. Transforms one or more Vector2s by a Matrix or Quaternion. |
.gif) |
TransformNormal |
Overloaded. Transforms a vector normal or array of vector normals by a matrix. |