Vector2I Methods |
The Vector2I type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds two vectors.
| |
AllNonZero |
Determines whether all components of a given vector are unequal to the zero.
| |
AnyNonZero |
Determines whether any component of a given vector is unequal to the zero.
| |
Clamp |
Restricts the current instance of Vector2I to be within a specified range and returns the clamped value.
| |
Cross(Vector2I, Vector2I) |
Calculates the cross product of two vectors.
| |
Cross(Vector2I, Vector2I, Vector2I) |
Calculates the cross product of two vectors.
| |
Divide(Int32, Vector2I, Vector2I) |
Divides a scalar by a vector.
| |
Divide(Vector2I, Vector2I, Vector2I) |
Divides the first vector by the second vector.
| |
Divide(Vector2I, Int32, Vector2I) |
Divides a vector by a given scalar.
| |
Dot(Vector2I, Vector2I) |
Calculates the dot product of two vectors.
| |
Dot(Vector2I, Vector2I, Int32) |
Calculates the dot product of two vectors.
| |
Equals(Object) |
Determines whether the specified object is equal to the current instance of Vector2I.
(Overrides ValueTypeEquals(Object).) | |
Equals(Vector2I, Int32) |
Determines whether the specified vector is equal to the current instance of Vector2I with a given precision.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Max |
Returns a vector containing the largest components of the specified vectors.
| |
MaxComponent |
Returns the value of the largest component of the current instance of Vector2I.
| |
Min |
Returns a vector containing the smallest components of the specified vectors.
| |
MinComponent |
Returns the value of the smallest component of the current instance of Vector2I.
| |
Multiply(Int32, Vector2I, Vector2I) |
Multiplies a vector by a given scalar.
| |
Multiply(Vector2I, Vector2I, Vector2I) |
Multiplies two vectors together.
| |
Multiply(Vector2I, Int32, Vector2I) |
Multiplies a vector by a given scalar.
| |
Negate |
Reverses the direction of a given vector.
| |
Parse |
Converts a string representation of a vector into the equivalent Vector2I structure.
| |
Select |
Chooses one of two vectors depending on the pick1 value.
| |
Subtract |
Subtracts two vectors.
| |
ToString | (Overrides ValueTypeToString.) | |
ToVector2 | ||
ToVector2F |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |