Synced
Vector2Int
Section titled “Vector2Int”
- Represents a mutable vector2int value with component-wise arithmetic semantics.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IEquatable<Inno.Core.Mathematics.Vector2Int>
Inherits: System.ValueType
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public struct Inno.Core.Mathematics.Vector2Int : System.IEquatable<Inno.Core.Mathematics.Vector2Int>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | Vector2Int.Constructor | Creates a vector from explicit component values. |
| Fields | Vector2Int.ONE | A value whose components are all one. |
| Fields | Vector2Int.UNIT_X | A unit value aligned with the x axis. |
| Fields | Vector2Int.UNIT_Y | A unit value aligned with the y axis. |
| Fields | Vector2Int.x | The horizontal or first component. |
| Fields | Vector2Int.y | The vertical or second component. |
| Fields | Vector2Int.ZERO | A value whose components are all zero. |
| Methods | Vector2Int.Equals(Inno.Core.Mathematics.Vector2Int) | Determines whether this value and the supplied value represent the same logical state. |
| Methods | Vector2Int.Equals(System.Object) | Determines whether this value and the supplied value represent the same logical state. |
| Methods | Vector2Int.GetHashCode | Computes a hash code consistent with the implemented equality contract. |
| Methods | Vector2Int.op_Addition | Adds the supplied values component by component. |
| Methods | Vector2Int.op_Division | Divides the supplied value by the scalar divisor component by component. |
| Methods | Vector2Int.op_Equality | Determines whether the supplied values are equal under the type’s equality tolerance. |
| Methods | Vector2Int.op_Explicit(Inno.Core.Mathematics.Vector2)~Inno.Core.Mathematics.Vector2Int | Converts the supplied value to T:Inno.Core.Mathematics.Vector2Int. |
| Methods | Vector2Int.op_Explicit(Inno.Core.Mathematics.Vector2Int)~Inno.Core.Mathematics.Vector2 | Converts the supplied value to T:Inno.Core.Mathematics.Vector2. |
| Methods | Vector2Int.op_Inequality | Determines whether the supplied values differ under the type’s equality tolerance. |
| Methods | Vector2Int.op_Multiply(Inno.Core.Mathematics.Vector2Int,System.Int32) | Multiplies the supplied values according to their algebraic contract. |
| Methods | Vector2Int.op_Multiply(System.Int32,Inno.Core.Mathematics.Vector2Int) | Multiplies the supplied values according to their algebraic contract. |
| Methods | Vector2Int.op_Subtraction | Subtracts or negates the supplied value component by component. |
| Methods | Vector2Int.op_UnaryNegation | Subtracts or negates the supplied value component by component. |
| Methods | Vector2Int.ToString | Formats this value as a human-readable component list. |