MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ViewportProperty_MRColor Class Reference

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>. This is the non-const half of the class. More...

+ Inheritance diagram for MR.ViewportProperty_MRColor:

Public Member Functions

unsafe ViewportProperty_MRColor ()
 Constructs an empty (default-constructed) instance.
 
unsafe ViewportProperty_MRColor (MR._ByValue_ViewportProperty_MRColor _other)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 
unsafe ViewportProperty_MRColor (in MR.Color def)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 
unsafe MR.ViewportProperty_MRColor assign (MR._ByValue_ViewportProperty_MRColor _other)
 Generated from method MR.ViewportProperty<MR.Color>::operator=.
 
unsafe void set (MR.Color def)
 sets default property value Generated from method MR.ViewportProperty<MR.Color>::set.
 
unsafe new ref MR.Color get ()
 Generated from method MR.ViewportProperty<MR.Color>::get.
 
unsafe void set (MR.Color v, MR.ViewportId id)
 sets specific property value for given viewport (or default value if !id) Generated from method MR.ViewportProperty<MR.Color>::set.
 
unsafe bool reset (MR.ViewportId id)
 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.
 
unsafe bool reset ()
 forgets specific property value for all viewports; returns true if any specific value was removed Generated from method MR.ViewportProperty<MR.Color>::reset.
 
- Public Member Functions inherited from MR.Const_ViewportProperty_MRColor
virtual void Dispose ()
 
unsafe Const_ViewportProperty_MRColor ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_ViewportProperty_MRColor (MR._ByValue_ViewportProperty_MRColor _other)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 
unsafe Const_ViewportProperty_MRColor (in MR.Color def)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 
unsafe ref readonly MR.Color get ()
 gets default property value Generated from method MR.ViewportProperty<MR.Color>::get.
 
unsafe ref readonly MR.Color get (MR.ViewportId id, MR.Misc.InOut< bool >? isDef=null)
 gets property value for given viewport: specific if available otherwise default one;
 

Static Public Member Functions

static unsafe implicit operator ViewportProperty_MRColor (in MR.Color def)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 
- Static Public Member Functions inherited from MR.Const_ViewportProperty_MRColor
static unsafe implicit operator Const_ViewportProperty_MRColor (in MR.Color def)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 

Properties

unsafe ref MR.Color this[MR.ViewportId id] [get]
 returns direct access to value associated with given viewport (or default value if !id) Generated from method MR.ViewportProperty<MR.Color>::operator[].
 
- Properties inherited from MR.Misc.Object< Const_ViewportProperty_MRColor >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Const_ViewportProperty_MRColor
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_ViewportProperty_MRColor >
bool _IsOwningVal
 

Detailed Description

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>. This is the non-const half of the class.


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