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

This is used as a function parameter when the underlying function receives MeshOrPointsObject by value. Usage: More...

Public Member Functions

 _ByValue_MeshOrPointsObject (Const_MeshOrPointsObject new_value)
 
 _ByValue_MeshOrPointsObject (MR.Misc._Moved< MeshOrPointsObject > moved)
 

Static Public Member Functions

static implicit operator _ByValue_MeshOrPointsObject (Const_MeshOrPointsObject arg)
 
static implicit operator _ByValue_MeshOrPointsObject (MR.Misc._Moved< MeshOrPointsObject > arg)
 
static unsafe implicit operator _ByValue_MeshOrPointsObject (MR._ByValueShared_VisualObject vo)
 construct, automatically detecting the object type (ObjectMesh or ObjectPoint) if set an another type, will be reset Generated from constructor MR.MeshOrPointsObject.MeshOrPointsObject.
 
static unsafe implicit operator _ByValue_MeshOrPointsObject (MR._ByValueShared_ObjectMesh om)
 Generated from constructor MR.MeshOrPointsObject.MeshOrPointsObject.
 
static unsafe implicit operator _ByValue_MeshOrPointsObject (MR._ByValueShared_ObjectPoints op)
 Generated from constructor MR.MeshOrPointsObject.MeshOrPointsObject.
 

Detailed Description

This is used as a function parameter when the underlying function receives MeshOrPointsObject by value. Usage:

  • Pass new() to default-construct the instance.
  • Pass an instance of MeshOrPointsObject/Const_MeshOrPointsObject to copy it into the function.
  • Pass Move(instance) to move it into the function. This is a more efficient form of copying that might invalidate the input object. Be careful if your input isn't a unique reference to this object.
  • Pass null to use the default argument, assuming the parameter has a default argument (has ? in the type).

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