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
public StdVectorOfSharedPtrToMesh()
Initializes a new StdVectorOfSharedPtrToMesh instance.
Finalizer
~StdVectorOfSharedPtrToMesh
#~StdVectorOfSharedPtrToMesh()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
Properties
Methods
Adds a mesh to the list.
public nint ConstPointer()
Gets the constant (immutable) pointer of this array.
Returns: The constant pointer.
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
public nint NonConstPointer()
Gets the non-constant pointer (for modification) of this array.
Returns: The non-constant pointer.
public Mesh[] ToNonConstArray()
Copies the unmanaged array to a managed counterpart.
Returns: The managed array.