Class Sky
Sky actor renders atmosphere around the scene with fog and sky.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Visuals/Sky")]
[ActorToolbox("Visuals")]
[Unmanaged]
public class Sky : Actor, ISerializable
Constructors
Sky()
Properties
IndirectLightingIntensity
Controls how much sky will contribute indirect lighting. When set to 0, there is no GI from the sky. The default value is 1.
Declaration
[EditorOrder(40)]
[Limit(0F, 100F, 0.1F)]
[EditorDisplay("Sky", null)]
[Unmanaged]
public float IndirectLightingIntensity { get; set; }
Property Value
System.Single
|
SunDiscScale
The sun disc scale.
Declaration
[EditorOrder(20)]
[EditorDisplay("Sky", null)]
[Limit(0F, 100F, 0.01F)]
[Unmanaged]
public float SunDiscScale { get; set; }
Property Value
System.Single
|
SunLight
Directional light that is used to simulate the sun.
Declaration
[EditorOrder(10)]
[EditorDisplay("Sky", null)]
[Unmanaged]
public DirectionalLight SunLight { get; set; }
Property Value
DirectionalLight
|
SunPower
The sun power.
Declaration
[EditorOrder(30)]
[EditorDisplay("Sky", null)]
[Limit(0F, 1000F, 0.01F)]
[Unmanaged]
public float SunPower { get; set; }
Property Value
System.Single
|