Class Skybox
Skybox actor renders sky using custom cube texture or material.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Visuals/Sky Box")]
[ActorToolbox("Visuals")]
[Unmanaged]
public class Skybox : Actor, ISerializable
Constructors
Skybox()
Properties
Color
The skybox texture tint color.
Declaration
[EditorOrder(40)]
[EditorDisplay("Skybox", null)]
[Unmanaged]
public Color Color { get; set; }
Property Value
Color
|
CubeTexture
The cube texture to draw.
Declaration
[EditorOrder(10)]
[EditorDisplay("Skybox", null)]
[Unmanaged]
public CubeTexture CubeTexture { get; set; }
Property Value
CubeTexture
|
CustomMaterial
The skybox custom material used to override default (domain set to surface).
Declaration
[EditorOrder(30)]
[EditorDisplay("Skybox", null)]
[Unmanaged]
public MaterialBase CustomMaterial { get; set; }
Property Value
MaterialBase
|
Exposure
The skybox texture exposure value. Can be used to make skybox brighter or dimmer.
Declaration
[EditorOrder(50)]
[Limit(-100F, 100F, 0.01F)]
[EditorDisplay("Skybox", null)]
[Unmanaged]
public float Exposure { get; set; }
Property Value
System.Single
|
PanoramicTexture
The panoramic texture to draw. It should have a resolution ratio close to 2:1.
Declaration
[EditorOrder(20)]
[EditorDisplay("Skybox", null)]
[Unmanaged]
public Texture PanoramicTexture { get; set; }
Property Value
Texture
|