# MaterialThumbnail class

Namespace: [Grasshopper2.UI.Crystallography](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.crystallography.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class MaterialThumbnail
```

Provides all methods for compositing material preview thumbnails.

## Constructors

- [MaterialThumbnail](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.materialthumbnail/ctor.md): (3 overloads) Set up a minimal material thumbnail.

## Properties

- [Size](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.materialthumbnail/size.md): Gets the size of the thumbnail.

## Methods

- [CreateDefault](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.materialthumbnail/createdefault.md): (static) Create the default preview scene.
- [CreateFromFolder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.materialthumbnail/createfromfolder.md): (static) Create a new thumbnail preview scene from a folder. The folder must contain correctly named and proportioned image files.
- [DrawThumbnail](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.materialthumbnail/drawthumbnail.md): Create a thumbnail for a preview material.
