MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Vector2b Struct Reference

two-dimensional vector Generated from class MR.Vector2b. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.Vector2b:

Public Member Functions

 Vector2b (Vector2b _other)
 Generated copy constructor.
 
unsafe Vector2b ()
 Constructs an empty (default-constructed) instance.
 
unsafe Vector2b (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2b.Vector2b.
 
unsafe Vector2b (bool x, bool y)
 Generated from constructor MR.Vector2b.Vector2b.
 
unsafe ref bool index (int e)
 Generated from method MR.Vector2b.operator[].
 
readonly unsafe bool lengthSq ()
 Generated from method MR.Vector2b.lengthSq.
 
readonly unsafe double length ()
 Generated from method MR.Vector2b.length.
 
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/=.
 
bool Equals (MR.Vector2b b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Vector2b (ConstBox_Vector2b other)
 Copy contents from a wrapper class to this struct.
 
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.Vector2b a, MR.Vector2b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Vector2b a, MR.Vector2b b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2boperator+ (MR.Vector2b a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2i operator- (MR.Vector2b a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2i operator+ (MR.Vector2b a, in MR.Vector2b b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2i operator- (MR.Vector2b a, in MR.Vector2b b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2i operator* (bool a, MR.Vector2b b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2i operator* (MR.Vector2b b, bool a)
 Generated from function MR.operator*.
 
static MR.Vector2i operator/ (MR.Vector2b b, bool a)
 Generated from function MR.operator/.
 

Public Attributes

byte __storage_x
 
byte __storage_y
 

Properties

bool x [get, set]
 
bool y [get, set]
 
readonly unsafe bool this[int e] [get]
 Generated from method MR.Vector2b.operator[].
 

Detailed Description

two-dimensional vector Generated from class MR.Vector2b. This is the by-value version of the struct.


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