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
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Public Members¶
| name | description |
|---|---|
| MeshGeometry3D() | The default constructor. |
| BoundingBox { get; } | Gets the axis-aligned bounding box that encloses the vertices, or null if no vertices are set. |
| FillType { get; set; } | Gets or sets the primitive type that defines how the indices are interpreted. The default value is MeshFillType.Triangles. |
| Indices { 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 { 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 { 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 { get; set; } | Gets or sets the vertices of the mesh. |
See Also¶
- class SelectableElement
- namespace Eremex.AvaloniaUI.Controls3D