Graphics3DControlBase class¶
Serves as the base class for controls that render 3D models with the Vulkan API. It exposes the collections of models and materials that the renderer uploads to the graphics device.
Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Public Members¶
| name | description |
|---|---|
| Materials { get; } | Gets the materials available to the scene. Each mesh refers to a material by the material's key. |
| MaterialsSource { get; set; } | Gets or sets the collection used to populate the materials of the control. |
| MaterialTemplate { get; set; } | Gets or sets the template used to create a material for each item of MaterialsSource. |
| Models { get; } | Gets the models rendered by the control. Models are declared inline in XAML as the content of the control. |
| ModelsSource { get; set; } | Gets or sets the collection used to populate the models of the control. |
| ModelTemplate { get; set; } | Gets or sets the template used to create a model for each item of ModelsSource. |
See Also¶
- namespace Eremex.AvaloniaUI.Controls3D