# Instance class

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

```cs
public class Instance : IDisposable
```

The core of the custom render primitive delivery system - and instance defines a single mesh. Each instance has a shared mesh and a transform, along with a material, mapping channels (at the mesh and instance level).

## Constructors

- [Instance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/ctor.md): Construct a new Instance object

## Finalizer

- [~Instance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/finalize.md): Finalizer to ensure correctly implemented dispose pattern.

## Properties

- [IsForcedMaterial](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/isforcedmaterial.md): The material for this instance should override any display mode materials.
- [IsRequestingPlugInDependent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/isrequestingplugindependent.md): If this instance will change depending on the requesting plug-in.
- [IsViewDependent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/isviewdependent.md): If this instance will change depending on the view direction.
- [Material](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/material.md): The material for this instance.
- [Mesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/mesh.md): Returns the mesh associated with this geometry. Note that this function will always return a mesh even if the type is not a mesh...so you can always call this function without checking the type to give you the mesh. It's more efficient to use the primitive directly of course...but if you don't support it...
- [Transform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/transform.md): The transform for this instance. Transform the geometry by this to set its final location in world space.

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.customrendermeshes.instance/dispose.md): (2 overloads) Dispose method
