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

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

Public Member Functions

 _ByValue_SharedPtr_ConstVoid (Const_SharedPtr_ConstVoid new_value)
 
 _ByValue_SharedPtr_ConstVoid (MR.Misc._Moved< SharedPtr_ConstVoid > moved)
 

Static Public Member Functions

static implicit operator _ByValue_SharedPtr_ConstVoid (Const_SharedPtr_ConstVoid arg)
 
static implicit operator _ByValue_SharedPtr_ConstVoid (MR.Misc._Moved< SharedPtr_ConstVoid > arg)
 
static unsafe implicit operator _ByValue_SharedPtr_ConstVoid (MR.Std._ByValue_SharedPtr_Void ptr)
 Create a new instance from a non-const pointer to the same type.
 
static unsafe implicit operator _ByValue_SharedPtr_ConstVoid (MR._ByValueShared_Object _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator _ByValue_SharedPtr_ConstVoid (MR._ByValueShared_Mesh _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator _ByValue_SharedPtr_ConstVoid (MR._ByValueShared_Polyline3 _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator _ByValue_SharedPtr_ConstVoid (MR._ByValueShared_PointCloud _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator _ByValue_SharedPtr_ConstVoid (MR._ByValueShared_SceneRootObject _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 

Detailed Description

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

  • Pass new() to default-construct the instance.
  • Pass an instance of SharedPtr_ConstVoid/Const_SharedPtr_ConstVoid 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: