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

Static Public Member Functions

static unsafe implicit operator 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[].
 

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.

Constructor & Destructor Documentation

◆ ViewportProperty_MRColor() [1/5]

unsafe MR.ViewportProperty_MRColor.ViewportProperty_MRColor ( )
inline

Constructs an empty (default-constructed) instance.

◆ ViewportProperty_MRColor() [2/5]

unsafe MR.ViewportProperty_MRColor.ViewportProperty_MRColor ( MR._ByValue_ViewportProperty_MRColor _other)
inline

Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.

◆ ViewportProperty_MRColor() [3/5]

MR.ViewportProperty_MRColor.ViewportProperty_MRColor ( Const_ViewportProperty_MRColor _other)
inline

Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.

◆ ViewportProperty_MRColor() [4/5]

MR.ViewportProperty_MRColor.ViewportProperty_MRColor ( ViewportProperty_MRColor _other)
inline

Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.

◆ ViewportProperty_MRColor() [5/5]

unsafe MR.ViewportProperty_MRColor.ViewportProperty_MRColor ( in MR.Color def)
inline

Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.

Member Function Documentation

◆ assign()

unsafe MR.ViewportProperty_MRColor MR.ViewportProperty_MRColor.assign ( MR._ByValue_ViewportProperty_MRColor _other)
inline

Generated from method MR.ViewportProperty<MR.Color>::operator=.

◆ get()

unsafe new ref MR.Color MR.ViewportProperty_MRColor.get ( )
inline

Generated from method MR.ViewportProperty<MR.Color>::get.

◆ operator ViewportProperty_MRColor()

static unsafe implicit MR.ViewportProperty_MRColor.operator ViewportProperty_MRColor ( in MR.Color def)
inlinestatic

Generated from constructor MR.ViewportProperty<MR.Color>::ViewportProperty.

◆ reset() [1/2]

unsafe bool MR.ViewportProperty_MRColor.reset ( )
inline

forgets specific property value for all viewports; returns true if any specific value was removed Generated from method MR.ViewportProperty<MR.Color>::reset.

◆ reset() [2/2]

unsafe bool MR.ViewportProperty_MRColor.reset ( MR.ViewportId id)
inline

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.

◆ set() [1/2]

unsafe void MR.ViewportProperty_MRColor.set ( MR.Color def)
inline

sets default property value Generated from method MR.ViewportProperty<MR.Color>::set.

◆ set() [2/2]

unsafe void MR.ViewportProperty_MRColor.set ( MR.Color v,
MR.ViewportId id )
inline

sets specific property value for given viewport (or default value if !id) Generated from method MR.ViewportProperty<MR.Color>::set.

Property Documentation

◆ this[MR.ViewportId id]

unsafe ref MR.Color MR.ViewportProperty_MRColor.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[].


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