Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ViewportProperty_MR_Color) -> &mut meshlib::ViewportProperty_MR_Color |
| auto | op_equal (_1:&meshlib::ViewportProperty_MR_Color) const -> bool |
| auto | op_not_equal (_1:&meshlib::ViewportProperty_MR_Color) const -> bool |
| void | set_1 (def:meshlib::Color) |
| auto | get_0 () const -> &meshlib::Color |
| auto | get_mut () -> &mut meshlib::Color |
| auto | index (id:meshlib::ViewportId) -> &mut meshlib::Color |
| void | set_2 (v:meshlib::Color, id:meshlib::ViewportId) |
| auto | get_2 (id:meshlib::ViewportId, isDef:Option<&mut bool >) const -> &meshlib::Color |
| auto | reset_1 (id:meshlib::ViewportId) -> bool |
| auto | reset_0 () -> bool |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ViewportProperty_MR_Color > |
| static auto | construct_from_another (_other:&meshlib::ViewportProperty_MR_Color) -> meshlib::Owned< meshlib::ViewportProperty_MR_Color > |
| static auto | construct (def:&meshlib::Color) -> meshlib::Owned< meshlib::ViewportProperty_MR_Color > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
storage of some viewport-dependent property, which has some default value for all viewports and special values for some specific viewports Generated from class MR::ViewportProperty<MR::Color>.
Generated from class MR::ViewportProperty<MR::Color>. Heap-allocated instances are held in Owned<ViewportProperty_MR_Color>.
| auto meshlib::ViewportProperty_MR_Color::assign_from_another | ( | _other:&meshlib::ViewportProperty_MR_Color | ) | -> &mut meshlib::ViewportProperty_MR_Color |
Generated from method MR::ViewportProperty<MR::Color>::operator=.
Calls MR_ViewportProperty_MR_Color_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::ViewportProperty<MR::Color>::ViewportProperty.
Calls MR_ViewportProperty_MR_Color_Construct(). The reference to the parameter def might be preserved in the constructed object.
|
static |
Generated from constructor MR::ViewportProperty<MR::Color>::ViewportProperty.
Calls MR_ViewportProperty_MR_Color_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ViewportProperty_MR_Color::get_0 | ( | ) | const -> &meshlib::Color |
gets default property value Generated from method MR::ViewportProperty<MR::Color>::get.
Calls MR_ViewportProperty_MR_Color_get_0().
| auto meshlib::ViewportProperty_MR_Color::get_2 | ( | id:meshlib::ViewportId | , |
| isDef:Option<&mut bool > | ) const -> &meshlib::Color |
gets property value for given viewport: specific if available otherwise default one;
| isDef | receives true if this viewport does not have specific value and default one is returned Generated from method MR::ViewportProperty<MR::Color>::get. |
Calls MR_ViewportProperty_MR_Color_get_2().
| auto meshlib::ViewportProperty_MR_Color::get_mut | ( | ) | -> &mut meshlib::Color |
Generated from method MR::ViewportProperty<MR::Color>::get.
Calls MR_ViewportProperty_MR_Color_get_mut().
| auto meshlib::ViewportProperty_MR_Color::index | ( | id:meshlib::ViewportId | ) | -> &mut meshlib::Color |
returns direct access to value associated with given viewport (or default value if !id) Generated from method MR::ViewportProperty<MR::Color>::operator[].
Calls MR_ViewportProperty_MR_Color_index().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ViewportProperty_MR_Color_DefaultConstruct().
| auto meshlib::ViewportProperty_MR_Color::op_equal | ( | _1:&meshlib::ViewportProperty_MR_Color | ) | const -> bool |
Generated from method MR::ViewportProperty<MR::Color>::operator==.
Calls MR_equal_MR_ViewportProperty_MR_Color().
| auto meshlib::ViewportProperty_MR_Color::op_not_equal | ( | _1:&meshlib::ViewportProperty_MR_Color | ) | const -> bool |
Generated from method MR::ViewportProperty<MR::Color>::operator!=.
Calls MR_not_equal_MR_ViewportProperty_MR_Color().
| auto meshlib::ViewportProperty_MR_Color::reset_0 | ( | ) | -> bool |
forgets specific property value for all viewports; returns true if any specific value was removed Generated from method MR::ViewportProperty<MR::Color>::reset.
Calls MR_ViewportProperty_MR_Color_reset_0().
| auto meshlib::ViewportProperty_MR_Color::reset_1 | ( | id:meshlib::ViewportId | ) | -> bool |
forgets specific property value for given viewport (or all viewports if !id); returns true if any specific value was removed Generated from method MR::ViewportProperty<MR::Color>::reset.
Calls MR_ViewportProperty_MR_Color_reset_1().
| void meshlib::ViewportProperty_MR_Color::set_1 | ( | def:meshlib::Color | ) |
sets default property value Generated from method MR::ViewportProperty<MR::Color>::set.
Calls MR_ViewportProperty_MR_Color_set_1().
| void meshlib::ViewportProperty_MR_Color::set_2 | ( | v:meshlib::Color | , |
| id:meshlib::ViewportId | ) |
sets specific property value for given viewport (or default value if !id) Generated from method MR::ViewportProperty<MR::Color>::set.
Calls MR_ViewportProperty_MR_Color_set_2().