MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_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 const half of the class. More...

+ Inheritance diagram for MR.Const_ViewportProperty_MRColor:

Classes

struct  _Underlying
 

Public Member Functions

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 Const_ViewportProperty_MRColor (in MR.Color def)
 Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_ViewportProperty_MRColor >
bool _IsOwningVal
 
- 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.
 

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

Member Function Documentation

◆ get()

unsafe ref readonly MR.Color MR.Const_ViewportProperty_MRColor.get ( MR.ViewportId id,
MR.Misc.InOut< bool >? isDef = null )
inline

gets property value for given viewport: specific if available otherwise default one;

Parameters
isDefreceives true if this viewport does not have specific value and default one is returned Generated from method MR.ViewportProperty<MR.Color>::get.

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