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

+ Inheritance diagram for MR.Const_ViewportProperty_UnsignedChar:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_ViewportProperty_UnsignedChar ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_ViewportProperty_UnsignedChar (MR._ByValue_ViewportProperty_UnsignedChar _other)
 Generated from constructor MR.ViewportProperty<unsigned char>::ViewportProperty.
 
unsafe Const_ViewportProperty_UnsignedChar (byte def)
 Generated from constructor MR.ViewportProperty<unsigned char>::ViewportProperty.
 
unsafe byte get ()
 gets default property value Generated from method MR.ViewportProperty<unsigned char>::get.
 
unsafe byte 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_UnsignedChar (byte def)
 Generated from constructor MR.ViewportProperty<unsigned char>::ViewportProperty.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_ViewportProperty_UnsignedChar >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_ViewportProperty_UnsignedChar >
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<unsigned char>. This is the const half of the class.

Member Function Documentation

◆ get()

unsafe byte MR.Const_ViewportProperty_UnsignedChar.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<unsigned char>::get.

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