Skybox class¶
Represents the cube map environment used for image-based lighting and as the background of a scene. The control converts the six face images into a prefiltered environment map.
Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Public Members¶
| name | description |
|---|---|
| Skybox() | The default constructor. |
| Bottom { get; set; } | Gets or sets the image of the -Y face of the cube map. |
| Front { get; set; } | Gets or sets the image of the +Z face of the cube map. |
| IsVisible { get; set; } | Gets or sets whether the skybox is drawn as the background behind the models. |
| Left { get; set; } | Gets or sets the image of the -X face of the cube map. |
| Rear { get; set; } | Gets or sets the image of the -Z face of the cube map. |
| Right { get; set; } | Gets or sets the image of the +X face of the cube map. |
| Top { get; set; } | Gets or sets the image of the +Y face of the cube map. |
Remarks¶
All faces must share the same pixel size and format. Faces that are left unspecified stay black.
See Also¶
- namespace Eremex.AvaloniaUI.Controls3D