MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Box_Vector2b Class Reference

two-dimensional vector Generated from class MR.Vector2b. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Vector2b:

Public Member Functions

unsafe Box_Vector2b (Vector2b 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.)
 
unsafe Box_Vector2b (ConstBox_Vector2b _other)
 Generated copy constructor.
 
void Assign (ConstBox_Vector2b _other)
 Generated copy assignment.
 
unsafe Box_Vector2b ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Vector2b (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2b.Vector2b.
 
unsafe Box_Vector2b (bool x, bool y)
 Generated from constructor MR.Vector2b.Vector2b.
 
unsafe ref MR.Vector2b addAssign (in MR.Vector2b b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector2b subAssign (in MR.Vector2b b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector2b mulAssign (bool b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector2b divAssign (bool b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Vector2b
unsafe ConstBox_Vector2b (Vector2b 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_Vector2b (ConstBox_Vector2b _other)
 Generated copy constructor.
 
unsafe ConstBox_Vector2b ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Vector2b (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2b.Vector2b.
 
unsafe ConstBox_Vector2b (bool x, bool y)
 Generated from constructor MR.Vector2b.Vector2b.
 
unsafe bool lengthSq ()
 Generated from method MR.Vector2b.lengthSq.
 
unsafe double length ()
 Generated from method MR.Vector2b.length.
 
bool Equals (MR.ConstBox_Vector2b? b)
 
override bool Equals (object? other)
 

Properties

unsafe new ref Vector2b _Ref [get]
 Get the underlying struct.
 
new bool x [get, set]
 
new bool y [get, set]
 
unsafe new ref bool this[int e] [get]
 Generated from method MR.Vector2b.operator[].
 
- Properties inherited from MR.ConstBox_Vector2b
unsafe ref readonly Vector2b _Ref [get]
 Get the underlying struct.
 
bool x [get]
 
bool y [get]
 
static unsafe int Elements [get]
 
unsafe bool this[int e] [get]
 Generated from method MR.Vector2b.operator[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Vector2b >
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

- Static Public Member Functions inherited from MR.ConstBox_Vector2b
static implicit operator ConstBox_Vector2b (Vector2b other)
 Convert from a struct by copying it. Note that only ConstBox_Vector2b has this conversion, Box_Vector2b intentionally doesn't.
 
static MR.Vector2b diagonal (bool a)
 Generated from method MR.Vector2b.diagonal.
 
static MR.Vector2b plusX ()
 Generated from method MR.Vector2b.plusX.
 
static MR.Vector2b plusY ()
 Generated from method MR.Vector2b.plusY.
 
static unsafe bool operator== (MR.ConstBox_Vector2b a, MR.ConstBox_Vector2b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Vector2b a, MR.ConstBox_Vector2b b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2boperator+ (MR.ConstBox_Vector2b a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2i operator- (MR.ConstBox_Vector2b a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2i operator+ (MR.ConstBox_Vector2b a, in MR.Vector2b b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2i operator- (MR.ConstBox_Vector2b a, in MR.Vector2b b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2i operator* (bool a, MR.ConstBox_Vector2b b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2i operator* (MR.ConstBox_Vector2b b, bool a)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2i operator/ (ConstBox_Vector2b b, bool a)
 Generated from function MR.operator/.
 
- Protected Member Functions inherited from MR.ConstBox_Vector2b
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Vector2b >
bool _IsOwningVal
 

Detailed Description

two-dimensional vector Generated from class MR.Vector2b. This is the non-const reference to the struct.


The documentation for this class was generated from the following file: