Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, int def_) |
None | __init__ (self, ViewportProperty_unsigned_char arg0) |
int | get (self) |
int | get (self) |
int | get (self, ViewportId id, bool_output isDef=None) |
int | operator (self, ViewportId id) |
bool | reset (self, ViewportId id) |
bool | reset (self) |
None | set (self, int def_) |
None | set (self, int v, ViewportId id) |
Generated from: MR::ViewportProperty<unsigned char> Aliases: ViewportProperty_uint8_t, ViewportProperty_uint8_t 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_unsigned_char.__init__ | ( | self | ) |
None meshlib.mrmeshpy.ViewportProperty_unsigned_char.__init__ | ( | self, | |
int | def_ ) |
None meshlib.mrmeshpy.ViewportProperty_unsigned_char.__init__ | ( | self, | |
ViewportProperty_unsigned_char | arg0 ) |
Implicit copy constructor.
int meshlib.mrmeshpy.ViewportProperty_unsigned_char.get | ( | self | ) |
gets default property value
int meshlib.mrmeshpy.ViewportProperty_unsigned_char.get | ( | self | ) |
int meshlib.mrmeshpy.ViewportProperty_unsigned_char.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
int meshlib.mrmeshpy.ViewportProperty_unsigned_char.operator | ( | self, | |
ViewportId | id ) |
returns direct access to value associated with given viewport (or default value if !id)
bool meshlib.mrmeshpy.ViewportProperty_unsigned_char.reset | ( | self | ) |
forgets specific property value for all viewports; returns true if any specific value was removed
bool meshlib.mrmeshpy.ViewportProperty_unsigned_char.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_unsigned_char.set | ( | self, | |
int | def_ ) |
sets default property value
None meshlib.mrmeshpy.ViewportProperty_unsigned_char.set | ( | self, | |
int | v, | ||
ViewportId | id ) |
sets specific property value for given viewport (or default value if !id)