# Atmosphere

Atmosphere : `Instance`

## Overview

Atmosphere 객체의 입자 밀도, 안개, 색상 등을 활용하여 현실감 있는 대기 효과를 연출할 수 있습니다.

## Properties

### AirColor

`Color3`

대기 전체의 색조를 조정합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.AirColor = Color3.fromRGB(255, 0, 0)
```

### CloudAmount

`number`

구름의 양과 밀도를 조정합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.CloudAmount = 0.5
```

### CloudSpeed

`number`

구름이 이동하는 속도를 설정합니다. 바람이 강한 날씨나 느린 흐름을 표현할 때 사용됩니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.CloudSpeed = 0.1
```

### CloudTexture

`string`

구름 텍스처를 지정합니다. 형태나 질감, 밀도를 표현할 수 있습니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.CloudTexture = "ovdrassetid://1234"
```

### FogColor

`Color3`

안개의 색상을 설정합니다. 분위기나 시간대에 맞춰 색감을 조정할 수 있습니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.FogColor = Color3.fromRGB(255, 0, 0)
```

### FogDensity

`number`

안개 농도를 설정합니다. 값이 높을수록 시야가 짙게 흐려집니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.FogDensity = 0.03
```

### FogFalloff

`number`

안개의 거리별 감쇠율을 조정합니다. 낮은 값은 천천히 사라지고, 높은 값은 급격히 사라집니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.FogFalloff = 0.32
```

### FogHorizon

`bool`

활성화 시 안개의 영향에서 스카이박스를 제외합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.FogHorizon = true
```

### FogStart

`number`

안개가 시작되는 거리(카메라로부터의 거리)를 지정합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.FogStart = 50000
```

### GlareColor

`Color3`

햇빛 또는 달빛의 대기 산란 색상을 지정합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.GlareColor = Color3.fromRGB(100, 0, 0)
```

### GlareFalloff

`number`

햇빛 또는 달빛이 대기 중에서 산란되는 강도를 조절합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.GlareFalloff = 0.02
```

### HazeColor

`Color3`

대기 중 입자에 의한 빛 산란 효과의 색상을 지정합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.HazeColor = Color3.fromRGB(255, 0, 0)
```

### HazeSpread

`number`

대기 중 입자에 의한 빛 산란 효과를 조정합니다.

#### Code Samples

```lua
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")

Atmosphere.HazeSpread = 0.03
```

## Methods

## Events

## See also

{% content-ref url="../../../manual/studio-manual/object/lighting" %}
[lighting](https://docs.overdare.com/korean/manual/studio-manual/object/lighting)
{% endcontent-ref %}
