# MeshGeometry3D class

Represents the geometry of a single mesh, which consists of a vertex buffer and a buffer of primitive indices.

**Namespace:** [`Eremex.AvaloniaUI.Controls3D`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public sealed class MeshGeometry3D : SelectableElement
```

## Public Members

| name | description |
| --- | --- |
| [MeshGeometry3D](MeshGeometry3D/MeshGeometry3D.md)() | The default constructor. |
| [BoundingBox](MeshGeometry3D/BoundingBox.md) { get; } | Gets the axis-aligned bounding box that encloses the vertices, or null if no vertices are set. |
| [FillType](MeshGeometry3D/FillType.md) { get; set; } | Gets or sets the primitive type that defines how the indices are interpreted. The default value is MeshFillType.Triangles. |
| [Indices](MeshGeometry3D/Indices.md) { get; set; } | Gets or sets the indices of the vertices that form the primitives. The indices are optional when FillType is set to Points. |
| [MaterialKey](MeshGeometry3D/MaterialKey.md) { get; set; } | Gets or sets the key of the material used to render the mesh. If the key is empty or unknown, the control falls back to its default material. |
| [PrimitiveSize](MeshGeometry3D/PrimitiveSize.md) { get; set; } | Gets or sets the width of a line segment or the size of a point, both measured in pixels. The value is ignored when the mesh is filled with triangles. |
| [Vertices](MeshGeometry3D/Vertices.md) { get; set; } | Gets or sets the vertices of the mesh. |

## See Also

* class [SelectableElement](./SelectableElement.md)
* namespace [Eremex.AvaloniaUI.Controls3D](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
