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
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.)
 
virtual void Dispose ()
 
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

unsafe new ref Color _Ref [get]
 Get the underlying struct.
 
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
unsafe ref readonly Color _Ref [get]
 Get the underlying struct.
 
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[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Color >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

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)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Color >
bool _IsOwningVal
 

Detailed Description

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


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