StdVectorOfSharedPtrToMesh
Represents a wrapper to an unmanaged array of mesh pointers.
Wrapper for a C++ ON_SimpleArray of ON_Mesh* or constant ON_Mesh*. If you are not writing C++ code then this class is not for you.
Constructors
Initializes a new StdVectorOfSharedPtrToMesh instance.
public StdVectorOfSharedPtrToMesh()
Finalizer
~StdVectorOfSharedPtrToMesh
#Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~StdVectorOfSharedPtrToMesh()
Properties
Methods
Adds a mesh to the list.
public void Add()
Gets the constant (immutable) pointer of this array.
public nint ConstPointer()
Returns: The constant pointer.
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()
Gets the non-constant pointer (for modification) of this array.
public nint NonConstPointer()
Returns: The non-constant pointer.
Copies the unmanaged array to a managed counterpart.
public Mesh[] ToNonConstArray()
Returns: The managed array.