# GH_PreviewMeshArgs class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_PreviewMeshArgs
```

This class is passed to objects that implement IGH_PreviewData during mesh drawing operations.

## Constructors

- [GH_PreviewMeshArgs](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewmeshargs/ctor.md)

## Properties

- [Material](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewmeshargs/material.md): Gets the material in which meshes ought to be drawn.
- [MeshingParameters](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewmeshargs/meshingparameters.md): Gets the meshing parameters which ought to be used for meshing breps and surfaces. If this property returns a null reference, meshes are supposed to be omitted.
- [Pipeline](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewmeshargs/pipeline.md): Gets the Display Pipeline we're currently drawing with.
- [Viewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewmeshargs/viewport.md): Gets the Viewport in which we're currently drawing.
