This documentation is archived and is not being maintained.
Describes and manipulates a vector in two-dimensional (2-D) space.
The following tables list the members exposed by the Vector2 type.
(see also Protected Methods )
|Add||Overloaded. Adds two 2-D vectors.|
|GetHashCode||Overridden. Returns the hash code for the current instance.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Length||Overloaded. Returns the length of a 2-D vector.|
|LengthSq||Overloaded. Returns the square of the length of a 2-D vector.|
|op_Addition||Adds two 2-D vectors.|
|op_Equality||Compares two 2-D vectors to determine whether they are the same.|
|op_Inequality||Compares two 2-D vectors to determine whether they are different.|
|op_Multiply||Overloaded. Determines the product of a number and a 2-D vector.|
|op_Subtraction||Subtracts a 2-D vector from another 2-D vector.|
|op_UnaryNegation||Returns a 2-D vector that is the negation the specified 2-D vector.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|Subtract||Overloaded. Subtracts two 2-D vectors.|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|