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.

Constructor & Destructor Documentation

◆ Vector2b() [1/4]

MR.Vector2b.Vector2b ( Vector2b _other)
inline

Generated copy constructor.

◆ Vector2b() [2/4]

unsafe MR.Vector2b.Vector2b ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector2b() [3/4]

unsafe MR.Vector2b.Vector2b ( MR.Const_NoInit _1)
inline

Generated from constructor MR.Vector2b.Vector2b.

◆ Vector2b() [4/4]

unsafe MR.Vector2b.Vector2b ( bool x,
bool y )
inline

Generated from constructor MR.Vector2b.Vector2b.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Vector2b MR.Vector2b.addAssign ( in MR.Vector2b b)
inline

Generated from function MR.operator+=.

◆ diagonal()

static MR.Vector2b MR.Vector2b.diagonal ( bool a)
inlinestatic

Generated from method MR.Vector2b.diagonal.

◆ divAssign()

unsafe ref MR.Vector2b MR.Vector2b.divAssign ( bool b)
inline

Generated from function MR.operator/=.

◆ Equals() [1/2]

bool MR.Vector2b.Equals ( MR.Vector2b b)
inline

◆ Equals() [2/2]

override bool MR.Vector2b.Equals ( object? other)
inline

◆ index()

unsafe ref bool MR.Vector2b.index ( int e)
inline

Generated from method MR.Vector2b.operator[].

◆ length()

readonly unsafe double MR.Vector2b.length ( )
inline

Generated from method MR.Vector2b.length.

◆ lengthSq()

readonly unsafe bool MR.Vector2b.lengthSq ( )
inline

Generated from method MR.Vector2b.lengthSq.

◆ mulAssign()

unsafe ref MR.Vector2b MR.Vector2b.mulAssign ( bool b)
inline

Generated from function MR.operator*=.

◆ operator Vector2b()

static implicit MR.Vector2b.operator Vector2b ( ConstBox_Vector2b other)
static

Copy contents from a wrapper class to this struct.

◆ operator!=()

static unsafe bool MR.Vector2b.operator!= ( MR.Vector2b a,
MR.Vector2b b )
inlinestatic

◆ operator*() [1/2]

static unsafe MR.Vector2i MR.Vector2b.operator* ( bool a,
MR.Vector2b b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/2]

static unsafe MR.Vector2i MR.Vector2b.operator* ( MR.Vector2b b,
bool a )
inlinestatic

Generated from function MR.operator*.

◆ operator+() [1/2]

static unsafe MR.Misc.ConstRef< MR.Vector2b > MR.Vector2b.operator+ ( MR.Vector2b a)
inlinestatic

Generated from function MR.operator+.

◆ operator+() [2/2]

static unsafe MR.Vector2i MR.Vector2b.operator+ ( MR.Vector2b a,
in MR.Vector2b b )
inlinestatic

Generated from function MR.operator+.

◆ operator-() [1/2]

static unsafe MR.Vector2i MR.Vector2b.operator- ( MR.Vector2b a)
inlinestatic

Generated from function MR.operator-.

◆ operator-() [2/2]

static unsafe MR.Vector2i MR.Vector2b.operator- ( MR.Vector2b a,
in MR.Vector2b b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static MR.Vector2i MR.Vector2b.operator/ ( MR.Vector2b b,
bool a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

static unsafe bool MR.Vector2b.operator== ( MR.Vector2b a,
MR.Vector2b b )
inlinestatic

Generated from function MR.operator==.

◆ plusX()

static MR.Vector2b MR.Vector2b.plusX ( )
inlinestatic

Generated from method MR.Vector2b.plusX.

◆ plusY()

static MR.Vector2b MR.Vector2b.plusY ( )
inlinestatic

Generated from method MR.Vector2b.plusY.

◆ subAssign()

unsafe ref MR.Vector2b MR.Vector2b.subAssign ( in MR.Vector2b b)
inline

Generated from function MR.operator-=.

Member Data Documentation

◆ __storage_x

byte MR.Vector2b.__storage_x

◆ __storage_y

byte MR.Vector2b.__storage_y

Property Documentation

◆ this[int e]

readonly unsafe bool MR.Vector2b.this[int e]
get

Generated from method MR.Vector2b.operator[].

◆ x

bool MR.Vector2b.x
getset

◆ y

bool MR.Vector2b.y
getset

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