# Atmosphere

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/Atmosphere/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/Atmosphere

The [`Atmosphere`](https://rapi.sleaze.dev/classes/Atmosphere.md) object pushes Roblox closer toward realistic environments where sunlight scatters in different ways depending on density and other air particle properties.

## Properties

### Density

```luau
Atmosphere.Density: number = 0.395000011
```

- Tags: Read capabilities: Environment

Defines the amount of particles in the [`Atmosphere`](https://rapi.sleaze.dev/classes/Atmosphere.md) and essentially controls how much in-game objects/terrain will be obscured by them.

### Offset

```luau
Atmosphere.Offset: number = 0
```

- Tags: Read capabilities: Environment

Controls how light transmits between the camera and the sky background.

### Color

```luau
Atmosphere.Color: Color3 = Color3.new(0.7843, 0.6667, 0.4235)
```

- Tags: Read capabilities: Environment

Changes the [`Atmosphere`](https://rapi.sleaze.dev/classes/Atmosphere.md) hue for subtle environmental moods.

### Decay

```luau
Atmosphere.Decay: Color3 = Color3.new(0.3608, 0.2353, 0.0549)
```

- Tags: Read capabilities: Environment

When used with increased [`Atmosphere.Haze`](https://rapi.sleaze.dev/classes/Atmosphere.md) and [`Atmosphere.Glare`](https://rapi.sleaze.dev/classes/Atmosphere.md), defines the hue of the [`Atmosphere`](https://rapi.sleaze.dev/classes/Atmosphere.md) away from the sun, gradually falling off from [`Atmosphere.Color`](https://rapi.sleaze.dev/classes/Atmosphere.md) towards this value.

### Glare

```luau
Atmosphere.Glare: number = 0
```

- Tags: Read capabilities: Environment

When used with increased [`Atmosphere.Haze`](https://rapi.sleaze.dev/classes/Atmosphere.md), specifies the glow/glare of the [`Atmosphere`](https://rapi.sleaze.dev/classes/Atmosphere.md) around the sun. More glare results in an increased effect of sunlight cast onto the sky and world.

### Haze

```luau
Atmosphere.Haze: number = 0
```

- Tags: Read capabilities: Environment

Defines the haziness of the [`Atmosphere`](https://rapi.sleaze.dev/classes/Atmosphere.md) with a visible effect both above the horizon and into the distance.

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
