# RenderPrimitiveList class

Namespace: [Rhino.Render](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.render.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class RenderPrimitiveList : IDisposable
```

> **Obsolete:** Use RenderPrimitives

## Finalizer

- [~RenderPrimitiveList](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/finalize.md)

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/count.md): Number of meshes in this list
- [RhinoObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/rhinoobject.md): The Rhino object associated with this list
- [UseObjectsMappingChannels](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/useobjectsmappingchannels.md): Returns true if the texture mapping will be taken from the Rhino object otherwise; the texture mapping will use the texture coordinates on the mesh only.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/add.md): (7 overloads) Add primitive box and material.
- [AutoDeleteMaterialsOn](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/autodeletematerialson.md)
- [AutoDeleteMeshesOn](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/autodeletemesheson.md)
- [Clear](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/clear.md): Remove all primitives from this list
- [ConvertMeshesToTriangles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/convertmeshestotriangles.md): Convert mesh quad faces to triangle faces.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/dispose.md)
- [GetInstanceTransform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/getinstancetransform.md)
- [Material](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/material.md): Call this method to get the render material associated with the mesh at the specified index. Will return null if there is no material associated with the requested mesh.
- [Mesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/mesh.md): Get the mesh for the primitive at the specified index. If the item at this index is a primitive type other than a mesh then it mesh representation is returned.
- [MeshInstance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/meshinstance.md): Get the mesh for the primitive at the specified index. If the item at this index is a primitive type other than a mesh then it mesh representation is returned.
- [PrimitiveType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/primitivetype.md): Type of primitive object at this index.
- [SetInstanceTransform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/setinstancetransform.md)
- [ToMaterialArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/tomaterialarray.md): Call this method to see if there are any RenderMaterials associated with the meshes. Each primitive can optionally have a RenderMaterial associated with it, if the RenderMaterial is null then check for a RhinoObject.RenderMaterial.
- [ToMeshArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/tomesharray.md): Call this method to get a array of meshes, all primitives will get meshed and the meshes will get included in the returned array.
- [TryGetBox](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/trygetbox.md): Call this method to get a box at the specified index.
- [TryGetCone](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/trygetcone.md): Call this method to get a box at the specified index.
- [TryGetPlane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/trygetplane.md): Call this method to get a box at the specified index.
- [TryGetSphere](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderprimitivelist/trygetsphere.md): Call this method to get a box at the specified index.
