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

Generated from class MR.Color. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Color:

Public Member Functions

unsafe Box_Color (Color 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_Color (ConstBox_Color _other)
 Generated copy constructor.
 
void Assign (ConstBox_Color _other)
 Generated copy assignment.
 
unsafe Box_Color ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Color (MR.Const_NoInit _1)
 Generated from constructor MR.Color.Color.
 
unsafe Box_Color (int r, int g, int b, int a)
 Generated from constructor MR.Color.Color.
 
unsafe Box_Color (int r, int g, int b)
 Generated from constructor MR.Color.Color.
 
unsafe Box_Color (float r, float g, float b, float a)
 Generated from constructor MR.Color.Color.
 
unsafe Box_Color (float r, float g, float b)
 Generated from constructor MR.Color.Color.
 
unsafe Box_Color (in MR.Vector4i vec)
 Generated from constructor MR.Color.Color.
 
unsafe Box_Color (in MR.Vector4f vec)
 Generated from constructor MR.Color.Color.
 
unsafe ref MR.Color addAssign (in MR.Color other)
 Generated from method MR.Color.operator+=.
 
unsafe ref MR.Color subAssign (in MR.Color other)
 Generated from method MR.Color.operator-=.
 
unsafe ref MR.Color mulAssign (float m)
 Generated from method MR.Color.operator*=.
 
unsafe ref MR.Color divAssign (float m)
 Generated from method MR.Color.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Color
virtual void Dispose ()
 
unsafe ConstBox_Color (Color 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 ConstBox_Color (ConstBox_Color _other)
 Generated copy constructor.
 
unsafe ConstBox_Color ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Color (MR.Const_NoInit _1)
 Generated from constructor MR.Color.Color.
 
unsafe ConstBox_Color (int r, int g, int b, int a)
 Generated from constructor MR.Color.Color.
 
unsafe ConstBox_Color (int r, int g, int b)
 Generated from constructor MR.Color.Color.
 
unsafe ConstBox_Color (float r, float g, float b, float a)
 Generated from constructor MR.Color.Color.
 
unsafe ConstBox_Color (float r, float g, float b)
 Generated from constructor MR.Color.Color.
 
unsafe ConstBox_Color (in MR.Vector4i vec)
 Generated from constructor MR.Color.Color.
 
unsafe ConstBox_Color (in MR.Vector4f vec)
 Generated from constructor MR.Color.Color.
 
unsafe uint getUInt32 ()
 Generated from method MR.Color.getUInt32.
 
unsafe MR.Color scaledAlpha (float m)
 Generated from method MR.Color.scaledAlpha.
 
bool Equals (MR.ConstBox_Color? b)
 
override bool Equals (object? other)
 

Properties

new ref byte r [get]
 
new ref byte g [get]
 
new ref byte b [get]
 
new ref byte a [get]
 
unsafe new ref byte this[int e] [get]
 Generated from method MR.Color.operator[].
 
- Properties inherited from MR.ConstBox_Color
ref readonly byte r [get]
 
ref readonly byte g [get]
 
ref readonly byte b [get]
 
ref readonly byte a [get]
 
unsafe byte this[int e] [get]
 Generated from method MR.Color.operator[].
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_Color
static implicit operator ConstBox_Color (Color other)
 Convert from a struct by copying it. Note that only ConstBox_Color has this conversion, Box_Color intentionally doesn't.
 
static unsafe operator MR.Vector4i (MR.ConstBox_Color _this)
 Generated from conversion operator MR.Color.operator MR.Vector4i.
 
static unsafe operator MR.Vector4f (MR.ConstBox_Color _this)
 Generated from conversion operator MR.Color.operator MR.Vector4f.
 
static MR.Color white ()
 Generated from method MR.Color.white.
 
static MR.Color black ()
 Generated from method MR.Color.black.
 
static MR.Color gray ()
 Generated from method MR.Color.gray.
 
static MR.Color red ()
 Generated from method MR.Color.red.
 
static MR.Color green ()
 Generated from method MR.Color.green.
 
static MR.Color blue ()
 Generated from method MR.Color.blue.
 
static MR.Color yellow ()
 Generated from method MR.Color.yellow.
 
static MR.Color brown ()
 Generated from method MR.Color.brown.
 
static MR.Color purple ()
 Generated from method MR.Color.purple.
 
static MR.Color transparent ()
 Generated from method MR.Color.transparent.
 
static byte valToUint8 (int val)
 Generated from method MR.Color.valToUint8<int>.
 
static byte valToUint8 (float val)
 Generated from method MR.Color.valToUint8<float>.
 
static unsafe bool operator== (MR.ConstBox_Color a, MR.ConstBox_Color b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Color a, MR.ConstBox_Color b)
 
static unsafe MR.Color operator+ (MR.ConstBox_Color a, in MR.Color b)
 Generated from function MR.operator+.
 
static unsafe MR.Color operator- (MR.ConstBox_Color a, in MR.Color b)
 Generated from function MR.operator-.
 
static unsafe MR.Color operator* (float a, MR.ConstBox_Color b)
 Generated from function MR.operator*.
 
static unsafe MR.Color operator* (MR.ConstBox_Color b, float a)
 Generated from function MR.operator*.
 
static unsafe MR.Color operator/ (MR.ConstBox_Color b, float a)
 Generated from function MR.operator/.
 
- Protected Member Functions inherited from MR.ConstBox_Color
virtual unsafe void Dispose (bool disposing)
 

Detailed Description

Generated from class MR.Color. This is the non-const reference to the struct.

Constructor & Destructor Documentation

◆ Box_Color() [1/10]

unsafe MR.Box_Color.Box_Color ( Color other)
inline

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.)

◆ Box_Color() [2/10]

unsafe MR.Box_Color.Box_Color ( ConstBox_Color _other)
inline

Generated copy constructor.

◆ Box_Color() [3/10]

unsafe MR.Box_Color.Box_Color ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Color() [4/10]

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

Generated from constructor MR.Color.Color.

◆ Box_Color() [5/10]

unsafe MR.Box_Color.Box_Color ( int r,
int g,
int b,
int a )
inline

Generated from constructor MR.Color.Color.

◆ Box_Color() [6/10]

unsafe MR.Box_Color.Box_Color ( int r,
int g,
int b )
inline

Generated from constructor MR.Color.Color.

◆ Box_Color() [7/10]

unsafe MR.Box_Color.Box_Color ( float r,
float g,
float b,
float a )
inline

Generated from constructor MR.Color.Color.

◆ Box_Color() [8/10]

unsafe MR.Box_Color.Box_Color ( float r,
float g,
float b )
inline

Generated from constructor MR.Color.Color.

◆ Box_Color() [9/10]

unsafe MR.Box_Color.Box_Color ( in MR.Vector4i vec)
inline

Generated from constructor MR.Color.Color.

◆ Box_Color() [10/10]

unsafe MR.Box_Color.Box_Color ( in MR.Vector4f vec)
inline

Generated from constructor MR.Color.Color.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Color MR.Box_Color.addAssign ( in MR.Color other)
inline

Generated from method MR.Color.operator+=.

◆ Assign()

void MR.Box_Color.Assign ( ConstBox_Color _other)
inline

Generated copy assignment.

◆ divAssign()

unsafe ref MR.Color MR.Box_Color.divAssign ( float m)
inline

Generated from method MR.Color.operator/=.

◆ mulAssign()

unsafe ref MR.Color MR.Box_Color.mulAssign ( float m)
inline

Generated from method MR.Color.operator*=.

◆ subAssign()

unsafe ref MR.Color MR.Box_Color.subAssign ( in MR.Color other)
inline

Generated from method MR.Color.operator-=.

Property Documentation

◆ a

new ref byte MR.Box_Color.a
get

◆ b

new ref byte MR.Box_Color.b
get

◆ g

new ref byte MR.Box_Color.g
get

◆ r

new ref byte MR.Box_Color.r
get

◆ this[int e]

unsafe new ref byte MR.Box_Color.this[int e]
get

Generated from method MR.Color.operator[].


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