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

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

+ Inheritance diagram for MR.ConstBox_Color:

Classes

struct  _Underlying
 

Public Member Functions

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)
 

Static Public Member Functions

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

virtual unsafe void Dispose (bool disposing)
 

Properties

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[].
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstBox_Color() [1/10]

unsafe MR.ConstBox_Color.ConstBox_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.)

◆ ConstBox_Color() [2/10]

unsafe MR.ConstBox_Color.ConstBox_Color ( ConstBox_Color _other)
inline

Generated copy constructor.

◆ ConstBox_Color() [3/10]

unsafe MR.ConstBox_Color.ConstBox_Color ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Color() [4/10]

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

Generated from constructor MR.Color.Color.

◆ ConstBox_Color() [5/10]

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

Generated from constructor MR.Color.Color.

◆ ConstBox_Color() [6/10]

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

Generated from constructor MR.Color.Color.

◆ ConstBox_Color() [7/10]

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

Generated from constructor MR.Color.Color.

◆ ConstBox_Color() [8/10]

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

Generated from constructor MR.Color.Color.

◆ ConstBox_Color() [9/10]

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

Generated from constructor MR.Color.Color.

◆ ConstBox_Color() [10/10]

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

Generated from constructor MR.Color.Color.

Member Function Documentation

◆ black()

static MR.Color MR.ConstBox_Color.black ( )
inlinestatic

Generated from method MR.Color.black.

◆ blue()

static MR.Color MR.ConstBox_Color.blue ( )
inlinestatic

Generated from method MR.Color.blue.

◆ brown()

static MR.Color MR.ConstBox_Color.brown ( )
inlinestatic

Generated from method MR.Color.brown.

◆ Dispose() [1/2]

virtual void MR.ConstBox_Color.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.ConstBox_Color.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.ConstBox_Color.Equals ( MR.ConstBox_Color? b)
inline

◆ Equals() [2/2]

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

◆ getUInt32()

unsafe uint MR.ConstBox_Color.getUInt32 ( )
inline

Generated from method MR.Color.getUInt32.

◆ gray()

static MR.Color MR.ConstBox_Color.gray ( )
inlinestatic

Generated from method MR.Color.gray.

◆ green()

static MR.Color MR.ConstBox_Color.green ( )
inlinestatic

Generated from method MR.Color.green.

◆ operator ConstBox_Color()

static implicit MR.ConstBox_Color.operator ConstBox_Color ( Color other)
inlinestatic

Convert from a struct by copying it. Note that only ConstBox_Color has this conversion, Box_Color intentionally doesn't.

◆ operator MR.Vector4f()

static unsafe MR.ConstBox_Color.operator MR.Vector4f ( MR.ConstBox_Color _this)
inlineexplicitstatic

Generated from conversion operator MR.Color.operator MR.Vector4f.

◆ operator MR.Vector4i()

static unsafe MR.ConstBox_Color.operator MR.Vector4i ( MR.ConstBox_Color _this)
inlineexplicitstatic

Generated from conversion operator MR.Color.operator MR.Vector4i.

◆ operator!=()

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

◆ operator*() [1/2]

static unsafe MR.Color MR.ConstBox_Color.operator* ( float a,
MR.ConstBox_Color b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/2]

static unsafe MR.Color MR.ConstBox_Color.operator* ( MR.ConstBox_Color b,
float a )
inlinestatic

Generated from function MR.operator*.

◆ operator+()

static unsafe MR.Color MR.ConstBox_Color.operator+ ( MR.ConstBox_Color a,
in MR.Color b )
inlinestatic

Generated from function MR.operator+.

◆ operator-()

static unsafe MR.Color MR.ConstBox_Color.operator- ( MR.ConstBox_Color a,
in MR.Color b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static unsafe MR.Color MR.ConstBox_Color.operator/ ( MR.ConstBox_Color b,
float a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ purple()

static MR.Color MR.ConstBox_Color.purple ( )
inlinestatic

Generated from method MR.Color.purple.

◆ red()

static MR.Color MR.ConstBox_Color.red ( )
inlinestatic

Generated from method MR.Color.red.

◆ scaledAlpha()

unsafe MR.Color MR.ConstBox_Color.scaledAlpha ( float m)
inline

Generated from method MR.Color.scaledAlpha.

◆ transparent()

static MR.Color MR.ConstBox_Color.transparent ( )
inlinestatic

Generated from method MR.Color.transparent.

◆ valToUint8() [1/2]

static byte MR.ConstBox_Color.valToUint8 ( float val)
inlinestatic

Generated from method MR.Color.valToUint8<float>.

◆ valToUint8() [2/2]

static byte MR.ConstBox_Color.valToUint8 ( int val)
inlinestatic

Generated from method MR.Color.valToUint8<int>.

◆ white()

static MR.Color MR.ConstBox_Color.white ( )
inlinestatic

Generated from method MR.Color.white.

◆ yellow()

static MR.Color MR.ConstBox_Color.yellow ( )
inlinestatic

Generated from method MR.Color.yellow.

Property Documentation

◆ a

ref readonly byte MR.ConstBox_Color.a
get

◆ b

ref readonly byte MR.ConstBox_Color.b
get

◆ g

ref readonly byte MR.ConstBox_Color.g
get

◆ r

ref readonly byte MR.ConstBox_Color.r
get

◆ this[int e]

unsafe byte MR.ConstBox_Color.this[int e]
get

Generated from method MR.Color.operator[].


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