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
The color applied when rendering this instance.
The color used for atmospheric light decay.
The density used to calculate light scattering and visibility in this Atmosphere.
The distance offset applied when evaluating the atmosphere.
The intensity of atmospheric glare around the sun.
The amount of atmospheric haze.
The rate at which density decreases with height.
The vertical offset of the atmospheric density distribution.
The multiplier for Mie scattering.
The multiplier for ozone absorption.
The planet radius used for atmospheric scattering calculations, in kilometers.
The multiplier for Rayleigh scattering.
Returns this instance if it is an ExecutionGroup.
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.3The density used to calculate light scattering and visibility in this Atmosphere.
DistanceOffset
Atmosphere.DistanceOffset: number = 0The distance offset applied when evaluating the atmosphere.
Glare
Atmosphere.Glare: number = 0The intensity of atmospheric glare around the sun.
Haze
Atmosphere.Haze: number = 0The amount of atmospheric haze.
HeightFalloff
Atmosphere.HeightFalloff: number = 0The rate at which density decreases with height.
HeightOffset
Atmosphere.HeightOffset: number = 0The vertical offset of the atmospheric density distribution.
MieScattering
Atmosphere.MieScattering: number = 1The multiplier for Mie scattering.
OzoneAbsorption
Atmosphere.OzoneAbsorption: number = 1The multiplier for ozone absorption.
PlanetRadius
Atmosphere.PlanetRadius: number = 6360The planet radius used for atmospheric scattering calculations, in kilometers.
RayleighScattering
Atmosphere.RayleighScattering: number = 1The 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
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying