MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ColoringType Class Reference

Public Member Functions

bool __eq__ (self, typing.Any other)
int __getstate__ (self)
int __hash__ (self)
int __index__ (self)
None __init__ (self, int value)
int __int__ (self)
bool __ne__ (self, typing.Any other)
str __repr__ (self)
None __setstate__ (self, int state)
str __str__ (self)
str name (self)
int value (self)

Static Public Attributes

typing FacesColorMap .ClassVar[ColoringType]
typing LinesColorMap .ClassVar[ColoringType]
typing PrimitivesColorMap .ClassVar[ColoringType]
typing SolidColor .ClassVar[ColoringType]
typing VertsColorMap .ClassVar[ColoringType]

Detailed Description

Members:

  SolidColor : Use one color for whole object

  PrimitivesColorMap : Use different color (taken from faces colormap) for each primitive

  FacesColorMap : Use different color (taken from faces colormap) for each face (primitive for object mesh)

  LinesColorMap : Use different color (taken from faces colormap) for each line (primitive for object lines)

  VertsColorMap : Use different color (taken from verts colormap) for each vertex

Constructor & Destructor Documentation

◆ __init__()

None mrmeshpy.ColoringType.__init__ ( self,
int value )

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ColoringType.__eq__ ( self,
typing.Any other )

◆ __getstate__()

int mrmeshpy.ColoringType.__getstate__ ( self)

◆ __hash__()

int mrmeshpy.ColoringType.__hash__ ( self)

◆ __index__()

int mrmeshpy.ColoringType.__index__ ( self)

◆ __int__()

int mrmeshpy.ColoringType.__int__ ( self)

◆ __ne__()

bool mrmeshpy.ColoringType.__ne__ ( self,
typing.Any other )

◆ __repr__()

str mrmeshpy.ColoringType.__repr__ ( self)

◆ __setstate__()

None mrmeshpy.ColoringType.__setstate__ ( self,
int state )

◆ __str__()

str mrmeshpy.ColoringType.__str__ ( self)

◆ name()

str mrmeshpy.ColoringType.name ( self)

◆ value()

int mrmeshpy.ColoringType.value ( self)

Member Data Documentation

◆ FacesColorMap

typing mrmeshpy.ColoringType.FacesColorMap .ClassVar[ColoringType]
static

◆ LinesColorMap

typing mrmeshpy.ColoringType.LinesColorMap .ClassVar[ColoringType]
static

◆ PrimitivesColorMap

typing mrmeshpy.ColoringType.PrimitivesColorMap .ClassVar[ColoringType]
static

◆ SolidColor

typing mrmeshpy.ColoringType.SolidColor .ClassVar[ColoringType]
static

◆ VertsColorMap

typing mrmeshpy.ColoringType.VertsColorMap .ClassVar[ColoringType]
static

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