two-dimensional vector Generated from class MR.Vector2i. This is the by-value version of the struct.
More...
Inheritance diagram for MR.Vector2i:Public Member Functions | |
| Vector2i (Vector2i _other) | |
| Generated copy constructor. | |
| unsafe | Vector2i () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Vector2i (MR.Const_NoInit _1) |
Generated from constructor MR.Vector2i.Vector2i. | |
| unsafe | Vector2i (int x, int y) |
Generated from constructor MR.Vector2i.Vector2i. | |
| unsafe ref int | index (int e) |
Generated from method MR.Vector2i.operator[]. | |
| readonly unsafe int | lengthSq () |
Generated from method MR.Vector2i.lengthSq. | |
| readonly unsafe double | length () |
Generated from method MR.Vector2i.length. | |
| readonly unsafe MR.Vector2i | furthestBasisVector () |
returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR.Vector2i.furthestBasisVector. | |
| readonly unsafe MR.Vector2i | perpendicular () |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2i.perpendicular. | |
| unsafe ref MR.Vector2i | addAssign (in MR.Vector2i b) |
Generated from function MR.operator+=. | |
| unsafe ref MR.Vector2i | subAssign (in MR.Vector2i b) |
Generated from function MR.operator-=. | |
| unsafe ref MR.Vector2i | mulAssign (int b) |
Generated from function MR.operator*=. | |
| unsafe ref MR.Vector2i | divAssign (int b) |
Generated from function MR.operator/=. | |
| bool | Equals (MR.Vector2i b) |
| override bool | Equals (object? other) |
Static Public Member Functions | |
| static implicit | operator Vector2i (ConstBox_Vector2i other) |
| Copy contents from a wrapper class to this struct. | |
| static MR.Vector2i | diagonal (int a) |
Generated from method MR.Vector2i.diagonal. | |
| static MR.Vector2i | plusX () |
Generated from method MR.Vector2i.plusX. | |
| static MR.Vector2i | plusY () |
Generated from method MR.Vector2i.plusY. | |
| static MR.Vector2i | minusX () |
Generated from method MR.Vector2i.minusX. | |
| static MR.Vector2i | minusY () |
Generated from method MR.Vector2i.minusY. | |
| static unsafe bool | operator== (MR.Vector2i a, MR.Vector2i b) |
Generated from function MR.operator==. | |
| static unsafe bool | operator!= (MR.Vector2i a, MR.Vector2i b) |
| static unsafe MR.Misc.ConstRef< MR.Vector2i > | operator+ (MR.Vector2i a) |
Generated from function MR.operator+. | |
| static unsafe MR.Vector2i | operator- (MR.Vector2i a) |
Generated from function MR.operator-. | |
| static unsafe MR.Vector2i | operator+ (MR.Vector2i a, in MR.Vector2i b) |
Generated from function MR.operator+. | |
| static unsafe MR.Vector2i | operator- (MR.Vector2i a, in MR.Vector2i b) |
Generated from function MR.operator-. | |
| static unsafe MR.Vector2i | operator* (int a, MR.Vector2i b) |
Generated from function MR.operator*. | |
| static unsafe MR.Vector2i | operator* (MR.Vector2i b, int a) |
Generated from function MR.operator*. | |
| static MR.Vector2i | operator/ (MR.Vector2i b, int a) |
Generated from function MR.operator/. | |
Public Attributes | |
| int | x |
| int | y |
Properties | |
| readonly unsafe int | this[int e] [get] |
Generated from method MR.Vector2i.operator[]. | |
two-dimensional vector Generated from class MR.Vector2i. This is the by-value version of the struct.