Vector |
public struct Vector3I
The Vector3I type exposes the following members.
| Name | Description | |
|---|---|---|
| Vector3I(Vector3I) | Constructs a vector with another given vector. | |
| Vector3I(Vector2I, Int32) | Constructs a vector with a given Vector2I and a scalar. | |
| Vector3I(Int32, Int32, Int32) | Constructs a vector with the given individual elements. |
| 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 Vector3I to be within a specified range and returns the clamped value. | |
| Cross(Vector3I, Vector3I) | Calculates the cross product of two vectors. | |
| Cross(Vector3I, Vector3I, Vector3I) | Calculates the cross product of two vectors. | |
| Divide(Int32, Vector3I, Vector3I) | Divides a scalar by a vector. | |
| Divide(Vector3I, Vector3I, Vector3I) | Divides the first vector by the second vector. | |
| Divide(Vector3I, Int32, Vector3I) | Divides a vector by a given scalar. | |
| Dot(Vector3I, Vector3I) | Calculates the dot product of two vectors. | |
| Dot(Vector3I, Vector3I, Int32) | Calculates the dot product of two vectors. | |
| Equals |
Determines whether the specified object is equal to the current instance of Vector3I.
(Overrides ValueTypeEquals(Object)) | |
| 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 Vector3I. | |
| 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 Vector3I. | |
| Multiply(Int32, Vector3I, Vector3I) | Multiplies a vector by a given scalar. | |
| Multiply(Vector3I, Vector3I, Vector3I) | Multiplies two vectors together. | |
| Multiply(Vector3I, Int32, Vector3I) | 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 Vector3I structure. | |
| Select | Chooses one of two vectors depending on the pick1 value. | |
| Subtract | Subtracts two vectors. | |
| ToString |
Returns a String that represents the current instance of Vector3I.
(Overrides ValueTypeToString) | |
| ToVector2I | Converts the current instance of Vector3I into an instance of Vector2I. | |
| ToVector3 | Converts the current instance of Vector3I into the equivalent Vector3 structure. | |
| ToVector3F | Converts the current instance of Vector3I into the equivalent Vector3F structure. |
| Name | Description | |
|---|---|---|
| Addition(Vector3I, Vector3I) | Adds two vectors. | |
| Division(Int32, Vector3I) | Divides a scalar by a vector. | |
| Division(Vector3I, Vector3I) | Divides the first vector by the second vector. | |
| Division(Vector3I, Int32) | Divides a vector by a given scalar. | |
| Equality(Vector3I, Vector3I) | Determines whether two given vectors are equal. | |
| Inequality(Vector3I, Vector3I) | Determines whether two given vectors are unequal. | |
| Multiply(Int32, Vector3I) | Multiplies a vector by a given scalar. | |
| Multiply(Vector3I, Vector3I) | Multiplies two vectors together. | |
| Multiply(Vector3I, Int32) | Multiplies a vector by a given scalar. | |
| Subtraction(Vector3I, Vector3I) | Subtracts two vectors. | |
| UnaryNegation(Vector3I) | Reverses the direction of a given vector. |
| Name | Description | |
|---|---|---|
| One | Returns the vector (1,1,1,1). | |
| X | The X component of the vector. | |
| Y | The Y component of the vector. | |
| Z | The Z component of the vector. | |
| Zero | Returns the vector (0,0,0). |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
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) |