Open Asterune
Atmosphere

Atmosphere

Configures atmospheric scattering, absorption, and height-dependent density.

Creatable
Instance.new("Atmosphere")
Inherits
Instance
Replication
Standard

Behavior

Atmosphere configures atmospheric scattering, absorption, and height-dependent density.

Summary

Members13
Properties12
Methods1

Properties

Color

Atmosphere.Color: Color3 = Color3.new(0.78, 0.667, 0.42)

The color applied when rendering this instance.

DecayColor

Atmosphere.DecayColor: Color3 = Color3.new(0.416, 0.439, 0.49)

The color used for atmospheric light decay.

Density

Atmosphere.Density: number = 0.3

The density used to calculate light scattering and visibility in this Atmosphere.

DistanceOffset

Atmosphere.DistanceOffset: number = 0

The distance offset applied when evaluating the atmosphere.

Glare

Atmosphere.Glare: number = 0

The intensity of atmospheric glare around the sun.

Haze

Atmosphere.Haze: number = 0

The amount of atmospheric haze.

HeightFalloff

Atmosphere.HeightFalloff: number = 0

The rate at which density decreases with height.

HeightOffset

Atmosphere.HeightOffset: number = 0

The vertical offset of the atmospheric density distribution.

MieScattering

Atmosphere.MieScattering: number = 1

The multiplier for Mie scattering.

OzoneAbsorption

Atmosphere.OzoneAbsorption: number = 1

The multiplier for ozone absorption.

PlanetRadius

Atmosphere.PlanetRadius: number = 6360

The planet radius used for atmospheric scattering calculations, in kilometers.

RayleighScattering

Atmosphere.RayleighScattering: number = 1

The multiplier for Rayleigh scattering.

Methods

GetExecutionGroup

Atmosphere:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

Inherited members

Inherited47

Instance