Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

SkyAtmosphere

A physical sky and aerial perspective lit by the scene's directional light. The sun's elevation sets the time of day; without this component the scene uses its Environment gradient. The first entity in ID order wins.

public struct SkyAtmosphere : IComponent<SkyAtmosphere>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

SeaLevel

public float SeaLevel;

World altitude of the planet surface (sea level); the sky and fog measure height from here.

Unit: m. Default: 0.

Aerosols

public float Aerosols;

Aerosol (haze, dust) density relative to clear Earth air. Raise it for dusty or humid skies: a whiter horizon, a wider sun glow and stronger aerial perspective.

Range: [0, 20]. Default: 1.

CloudCoverage

public float CloudCoverage;

Fraction of the sky covered by the lit cloud layer; 0 disables clouds.

Range: [0, 1]. Default: 0.

CloudHeight

public float CloudHeight;

Altitude of the cloud layer above sea level.

Unit: m. Range: [500, 20000]. Default: 2200.

Methods

Access

public static ref SkyAtmosphere Access(Entity entity, bool write);

No description yet.

Insert

public static void Insert(in Commands commands, Entity entity, in SkyAtmosphere value);

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.