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

This is used as a function parameter when the underlying function receives an optional ObjectMeshData by value, and also has a default argument, meaning it has two different null states. Usage: More...

Public Member Functions

 _ByValueOptOpt_ObjectMeshData (Const_ObjectMeshData new_value)
 
 _ByValueOptOpt_ObjectMeshData (MR.Misc._Moved< ObjectMeshData > moved)
 
 _ByValueOptOpt_ObjectMeshData (MR.Misc.NullOptType nullopt)
 

Static Public Member Functions

static implicit operator _ByValueOptOpt_ObjectMeshData (Const_ObjectMeshData arg)
 
static implicit operator _ByValueOptOpt_ObjectMeshData (MR.Misc._Moved< ObjectMeshData > arg)
 
static implicit operator _ByValueOptOpt_ObjectMeshData (MR.Misc.NullOptType nullopt)
 

Detailed Description

This is used as a function parameter when the underlying function receives an optional ObjectMeshData by value, and also has a default argument, meaning it has two different null states. Usage:

  • Pass new() to default-construct the instance.
  • Pass an instance of ObjectMeshData/Const_ObjectMeshData 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.
  • Pass MR.Misc.NullOptType to pass no object.

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