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

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

+ Inheritance diagram for MR.Vector4b:

Public Member Functions

 Vector4b (Vector4b _other)
 Generated copy constructor.
 
unsafe Vector4b ()
 Constructs an empty (default-constructed) instance.
 
unsafe Vector4b (MR.Const_NoInit _1)
 Generated from constructor MR.Vector4b.Vector4b.
 
unsafe Vector4b (bool x, bool y, bool z, bool w)
 Generated from constructor MR.Vector4b.Vector4b.
 
unsafe ref bool index (int e)
 Generated from method MR.Vector4b.operator[].
 
readonly unsafe bool lengthSq ()
 Generated from method MR.Vector4b.lengthSq.
 
readonly unsafe double length ()
 Generated from method MR.Vector4b.length.
 
unsafe ref MR.Vector4b addAssign (in MR.Vector4b b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector4b subAssign (in MR.Vector4b b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector4b mulAssign (bool b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector4b divAssign (bool b)
 Generated from function MR.operator/=.
 
bool Equals (MR.Vector4b b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Vector4b (ConstBox_Vector4b other)
 Copy contents from a wrapper class to this struct.
 
static MR.Vector4b diagonal (bool a)
 Generated from method MR.Vector4b.diagonal.
 
static unsafe bool operator== (MR.Vector4b a, MR.Vector4b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Vector4b a, MR.Vector4b b)
 
static unsafe MR.Misc.ConstRef< MR.Vector4boperator+ (MR.Vector4b a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector4i operator- (MR.Vector4b a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector4i operator+ (MR.Vector4b a, in MR.Vector4b b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector4i operator- (MR.Vector4b a, in MR.Vector4b b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector4i operator* (bool a, MR.Vector4b b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector4i operator* (MR.Vector4b b, bool a)
 Generated from function MR.operator*.
 
static MR.Vector4i operator/ (MR.Vector4b b, bool a)
 Generated from function MR.operator/.
 

Public Attributes

byte __storage_x
 
byte __storage_y
 
byte __storage_z
 
byte __storage_w
 

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Vector4b() [1/4]

MR.Vector4b.Vector4b ( Vector4b _other)
inline

Generated copy constructor.

◆ Vector4b() [2/4]

unsafe MR.Vector4b.Vector4b ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector4b() [3/4]

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

Generated from constructor MR.Vector4b.Vector4b.

◆ Vector4b() [4/4]

unsafe MR.Vector4b.Vector4b ( bool x,
bool y,
bool z,
bool w )
inline

Generated from constructor MR.Vector4b.Vector4b.

Member Function Documentation

◆ addAssign()

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

Generated from function MR.operator+=.

◆ diagonal()

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

Generated from method MR.Vector4b.diagonal.

◆ divAssign()

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

Generated from function MR.operator/=.

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ index()

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

Generated from method MR.Vector4b.operator[].

◆ length()

readonly unsafe double MR.Vector4b.length ( )
inline

Generated from method MR.Vector4b.length.

◆ lengthSq()

readonly unsafe bool MR.Vector4b.lengthSq ( )
inline

Generated from method MR.Vector4b.lengthSq.

◆ mulAssign()

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

Generated from function MR.operator*=.

◆ operator Vector4b()

static implicit MR.Vector4b.operator Vector4b ( ConstBox_Vector4b other)
static

Copy contents from a wrapper class to this struct.

◆ operator!=()

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

◆ operator*() [1/2]

static unsafe MR.Vector4i MR.Vector4b.operator* ( bool a,
MR.Vector4b b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/2]

static unsafe MR.Vector4i MR.Vector4b.operator* ( MR.Vector4b b,
bool a )
inlinestatic

Generated from function MR.operator*.

◆ operator+() [1/2]

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

Generated from function MR.operator+.

◆ operator+() [2/2]

static unsafe MR.Vector4i MR.Vector4b.operator+ ( MR.Vector4b a,
in MR.Vector4b b )
inlinestatic

Generated from function MR.operator+.

◆ operator-() [1/2]

static unsafe MR.Vector4i MR.Vector4b.operator- ( MR.Vector4b a)
inlinestatic

Generated from function MR.operator-.

◆ operator-() [2/2]

static unsafe MR.Vector4i MR.Vector4b.operator- ( MR.Vector4b a,
in MR.Vector4b b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static MR.Vector4i MR.Vector4b.operator/ ( MR.Vector4b b,
bool a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ subAssign()

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

Generated from function MR.operator-=.

Member Data Documentation

◆ __storage_w

byte MR.Vector4b.__storage_w

◆ __storage_x

byte MR.Vector4b.__storage_x

◆ __storage_y

byte MR.Vector4b.__storage_y

◆ __storage_z

byte MR.Vector4b.__storage_z

Property Documentation

◆ this[int e]

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

Generated from method MR.Vector4b.operator[].

◆ w

bool MR.Vector4b.w
getset

◆ x

bool MR.Vector4b.x
getset

◆ y

bool MR.Vector4b.y
getset

◆ z

bool MR.Vector4b.z
getset

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