Represents a two-dimensional vector.
The following tables list the members exposed by the Vector type.
Name | Description | |
---|---|---|
Initializes a new instance of the Vector structure. |
Name | Description | |
---|---|---|
Gets the length of this vector. |
||
Gets the squared length of this vector. |
||
Gets or sets the X component of this vector. |
||
Gets or sets the Y component of this vector. |
Name | Description | |
---|---|---|
Overloaded. Adds vectors or translates a vector. |
||
Determines the angle between two vectors. |
||
Returns the size of cross-product of two vectors. |
||
Finds the determinant of two vectors. |
||
Divides a vector by a scalar. |
||
Overloaded. Determines if two vectors are equal. |
||
Object.GetHashCode override. |
||
Overloaded. Multiplies this vector by a scalar or a vector. |
||
Reverses the direction of this vector. |
||
Makes this vector a unit vector. |
||
Subtracts two vectors. |
||
Overloaded. Gets a string representation of this vector. |