# 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`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public class Skybox : StyledElement
```

## Public Members

| name | description |
| --- | --- |
| [Skybox](Skybox/Skybox.md)() | The default constructor. |
| [Bottom](Skybox/Bottom.md) { get; set; } | Gets or sets the image of the -Y face of the cube map. |
| [Front](Skybox/Front.md) { get; set; } | Gets or sets the image of the +Z face of the cube map. |
| [IsVisible](Skybox/IsVisible.md) { get; set; } | Gets or sets whether the skybox is drawn as the background behind the models. |
| [Left](Skybox/Left.md) { get; set; } | Gets or sets the image of the -X face of the cube map. |
| [Rear](Skybox/Rear.md) { get; set; } | Gets or sets the image of the -Z face of the cube map. |
| [Right](Skybox/Right.md) { get; set; } | Gets or sets the image of the +X face of the cube map. |
| [Top](Skybox/Top.md) { 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](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
