Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Color def_) |
None | __init__ (self, ViewportProperty_Color arg0) |
Color | get (self) |
Color | get (self) |
Color | get (self, ViewportId id, bool_output isDef=None) |
Color | operator (self, ViewportId id) |
bool | reset (self, ViewportId id) |
bool | reset (self) |
None | set (self, Color def_) |
None | set (self, Color v, ViewportId id) |
Generated from: MR::ViewportProperty<MR::Color> storage of some viewport-dependent property, which has some default value for all viewports and special values for some specific viewports
None meshlib.mrmeshpy.ViewportProperty_Color.__init__ | ( | self | ) |
None meshlib.mrmeshpy.ViewportProperty_Color.__init__ | ( | self, | |
Color | def_ ) |
None meshlib.mrmeshpy.ViewportProperty_Color.__init__ | ( | self, | |
ViewportProperty_Color | arg0 ) |
Implicit copy constructor.
Color meshlib.mrmeshpy.ViewportProperty_Color.get | ( | self | ) |
gets default property value
Color meshlib.mrmeshpy.ViewportProperty_Color.get | ( | self | ) |
Color meshlib.mrmeshpy.ViewportProperty_Color.get | ( | self, | |
ViewportId | id, | ||
bool_output | isDef = None ) |
gets property value for given viewport: specific if available otherwise default one; \\param isDef receives true if this viewport does not have specific value and default one is returned
Color meshlib.mrmeshpy.ViewportProperty_Color.operator | ( | self, | |
ViewportId | id ) |
returns direct access to value associated with given viewport (or default value if !id)
bool meshlib.mrmeshpy.ViewportProperty_Color.reset | ( | self | ) |
forgets specific property value for all viewports; returns true if any specific value was removed
bool meshlib.mrmeshpy.ViewportProperty_Color.reset | ( | self, | |
ViewportId | id ) |
forgets specific property value for given viewport (or all viewports if !id); returns true if any specific value was removed
None meshlib.mrmeshpy.ViewportProperty_Color.set | ( | self, | |
Color | def_ ) |
sets default property value
None meshlib.mrmeshpy.ViewportProperty_Color.set | ( | self, | |
Color | v, | ||
ViewportId | id ) |
sets specific property value for given viewport (or default value if !id)