# Grasshopper2.UI.Crystallography namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Classes

- [Crystal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.crystal.md): Immutable collection of faces and edges of a material thumbnail gem.
- [CrystalControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.crystalcontrol.md): Control for showing a single, rotateable crystal preview.
- [CrystalEdge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.crystaledge.md): Immutable edge of a material thumbnail gem.
- [CrystalFace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.crystalface.md): Immutable facet of a material thumbnail gem.
- [MaterialThumbnail](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.materialthumbnail.md): Provides all methods for compositing material preview thumbnails.
- [PreviewShape](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.previewshape.md): Base class for various shapes used in material previews.

## Enums

- [CrystalVisibility](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.crystalvisibility.md): Enumerates the possible visibility types of crystal edges.
- [PreviewLayer](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.crystallography.previewlayer.md): Enumerates all layers of a material preview thumbnail. This includes both bitmap and geometric layers.
