Public Member Functions | |
Color | __add__ (self, Color b) |
bool | __eq__ (self, Color b) |
Color | __iadd__ (self, Color other) |
Color | __imatmul__ (self, float m) |
None | __init__ (self) |
None | __init__ (self, int r, int g, int b, int a=255) |
None | __init__ (self, float r, float g, float b, float a=1) |
None | __init__ (self, Vector4i vec) |
None | __init__ (self, Vector4f vec) |
None | __init__ (self, Color arg0) |
Color | __isub__ (self, Color other) |
Color | __itruediv__ (self, float m) |
Color | __mul__ (self, float a) |
bool | __ne__ (self, Color b) |
Color | __rmul__ (self, float b) |
Color | __sub__ (self, Color b) |
Color | __truediv__ (self, float a) |
int | getUInt32 (self) |
Color | scaledAlpha (self, float m) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Color | black () |
Color | blue () |
Color | brown () |
Color | gray () |
Color | green () |
Color | purple () |
Color | red () |
Color | transparent () |
int | valToUint8 (int val) |
int | valToUint8 (float val) |
Color | white () |
Color | yellow () |
Protected Member Functions | |
int | _Subscript (self, int e) |
int | _Subscript (self, int e) |
Vector4f | _convert_to_Vector4_float (self) |
Vector4i | _convert_to_Vector4_int (self) |
Generated from: MR::Color Aliases: Vector_Color_UndirectedEdgeId_reference, Vector_Color_FaceId_const_reference, std_vector_Color_const_reference, Vector_Color_UndirectedEdgeId_value_type, Vector_Color_Id_EdgeTag_value_type, std_vector_Color_reference, Vector_Color_VertId_value_type, Vector_Color_VertId_const_reference, Vector_Color_FaceId_reference, Vector_Color_Id_EdgeTag_const_reference, Vector_Color_UndirectedEdgeId_const_reference, std_vector_Color_value_type, Vector_Color_Id_EdgeTag_reference, Vector_Color_VertId_reference, Vector_Color_FaceId_value_type
|
static |
None meshlib.mrmeshpy.Color.__init__ | ( | self | ) |
None meshlib.mrmeshpy.Color.__init__ | ( | self, | |
int | r, | ||
int | g, | ||
int | b, | ||
int | a = 255 ) |
None meshlib.mrmeshpy.Color.__init__ | ( | self, | |
float | r, | ||
float | g, | ||
float | b, | ||
float | a = 1 ) |
None meshlib.mrmeshpy.Color.__init__ | ( | self, | |
Vector4i | vec ) |
None meshlib.mrmeshpy.Color.__init__ | ( | self, | |
Vector4f | vec ) |
None meshlib.mrmeshpy.Color.__init__ | ( | self, | |
Color | arg0 ) |
Implicit copy constructor.
bool meshlib.mrmeshpy.Color.__eq__ | ( | self, | |
Color | b ) |
Color meshlib.mrmeshpy.Color.__imatmul__ | ( | self, | |
float | m ) |
Color meshlib.mrmeshpy.Color.__itruediv__ | ( | self, | |
float | m ) |
Color meshlib.mrmeshpy.Color.__mul__ | ( | self, | |
float | a ) |
bool meshlib.mrmeshpy.Color.__ne__ | ( | self, | |
Color | b ) |
Color meshlib.mrmeshpy.Color.__rmul__ | ( | self, | |
float | b ) |
Color meshlib.mrmeshpy.Color.__truediv__ | ( | self, | |
float | a ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
int meshlib.mrmeshpy.Color.getUInt32 | ( | self | ) |
|
static |
|
static |
|
static |
|
static |
Color meshlib.mrmeshpy.Color.scaledAlpha | ( | self, | |
float | m ) |
|
static |
|
static |
|
static |
|
static |
|
static |