# SimpleArrayMeshPointer class

Namespace: [Rhino.Runtime.InteropWrappers](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.interopwrappers.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class SimpleArrayMeshPointer : IDisposable
```

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

- [SimpleArrayMeshPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/ctor.md): Initializes a new [SimpleArrayMeshPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer.md) instance.

## Finalizer

- [~SimpleArrayMeshPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/count.md): Gets the amount of meshes in this array.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/add.md): Adds a mesh to the list.
- [ConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/constpointer.md): Gets the constant (immutable) pointer of this array.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [NonConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/nonconstpointer.md): Gets the non-constant pointer (for modification) of this array.
- [ToNonConstArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraymeshpointer/tononconstarray.md): Copies the unmanaged array to a managed counterpart.
