two-dimensional vector Generated from class MR.Vector2i64. This is the const reference to the struct.
More...
Inheritance diagram for MR.ConstBox_Vector2i64:Classes | |
| struct | _Underlying |
Public Member Functions | |
| unsafe | ConstBox_Vector2i64 (Vector2i64 other) |
Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.) | |
| virtual void | Dispose () |
| unsafe | ConstBox_Vector2i64 (ConstBox_Vector2i64 _other) |
| Generated copy constructor. | |
| unsafe | ConstBox_Vector2i64 () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | ConstBox_Vector2i64 (MR.Const_NoInit _1) |
Generated from constructor MR.Vector2i64.Vector2i64. | |
| unsafe | ConstBox_Vector2i64 (long x, long y) |
Generated from constructor MR.Vector2i64.Vector2i64. | |
| unsafe long | lengthSq () |
Generated from method MR.Vector2i64.lengthSq. | |
| unsafe double | length () |
Generated from method MR.Vector2i64.length. | |
| unsafe MR.Vector2i64 | furthestBasisVector () |
returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR.Vector2i64.furthestBasisVector. | |
| unsafe MR.Vector2i64 | perpendicular () |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2i64.perpendicular. | |
| bool | Equals (MR.ConstBox_Vector2i64? b) |
| override bool | Equals (object? other) |
Static Public Member Functions | |
| static implicit | operator ConstBox_Vector2i64 (Vector2i64 other) |
Convert from a struct by copying it. Note that only ConstBox_Vector2i64 has this conversion, Box_Vector2i64 intentionally doesn't. | |
| static MR.Vector2i64 | diagonal (long a) |
Generated from method MR.Vector2i64.diagonal. | |
| static MR.Vector2i64 | plusX () |
Generated from method MR.Vector2i64.plusX. | |
| static MR.Vector2i64 | plusY () |
Generated from method MR.Vector2i64.plusY. | |
| static MR.Vector2i64 | minusX () |
Generated from method MR.Vector2i64.minusX. | |
| static MR.Vector2i64 | minusY () |
Generated from method MR.Vector2i64.minusY. | |
| static unsafe bool | operator== (MR.ConstBox_Vector2i64 a, MR.ConstBox_Vector2i64 b) |
Generated from function MR.operator==. | |
| static unsafe bool | operator!= (MR.ConstBox_Vector2i64 a, MR.ConstBox_Vector2i64 b) |
| static unsafe MR.Misc.ConstRef< MR.Vector2i64 > | operator+ (MR.ConstBox_Vector2i64 a) |
Generated from function MR.operator+. | |
| static unsafe MR.Vector2i64 | operator- (MR.ConstBox_Vector2i64 a) |
Generated from function MR.operator-. | |
| static unsafe MR.Vector2i64 | operator+ (MR.ConstBox_Vector2i64 a, in MR.Vector2i64 b) |
Generated from function MR.operator+. | |
| static unsafe MR.Vector2i64 | operator- (MR.ConstBox_Vector2i64 a, in MR.Vector2i64 b) |
Generated from function MR.operator-. | |
| static unsafe MR.Vector2i64 | operator* (long a, MR.ConstBox_Vector2i64 b) |
Generated from function MR.operator*. | |
| static unsafe MR.Vector2i64 | operator* (MR.ConstBox_Vector2i64 b, long a) |
Generated from function MR.operator*. | |
| static unsafe MR.Vector2i64 | operator/ (ConstBox_Vector2i64 b, long a) |
Generated from function MR.operator/. | |
Protected Member Functions | |
| virtual unsafe void | Dispose (bool disposing) |
Properties | |
| unsafe ref readonly Vector2i64 | _Ref [get] |
| Get the underlying struct. | |
| ref readonly long | x [get] |
| ref readonly long | y [get] |
| static unsafe int | Elements [get] |
| unsafe long | this[int e] [get] |
Generated from method MR.Vector2i64.operator[]. | |
Properties inherited from MR.Misc.Object< ConstBox_Vector2i64 > | |
| virtual bool | _IsOwning [get] |
| Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough. | |
Additional Inherited Members | |
Protected Attributes inherited from MR.Misc.Object< ConstBox_Vector2i64 > | |
| bool | _IsOwningVal |
two-dimensional vector Generated from class MR.Vector2i64. This is the const reference to the struct.