Atmosphere

Atmosphere : Instance

Overview

Atmosphere ๊ฐ์ฒด์˜ ์ž…์ž ๋ฐ€๋„, ์•ˆ๊ฐœ, ์ƒ‰์ƒ ๋“ฑ์„ ํ™œ์šฉํ•˜์—ฌ ํ˜„์‹ค๊ฐ ์žˆ๋Š” ๋Œ€๊ธฐ ํšจ๊ณผ๋ฅผ ์—ฐ์ถœํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Properties

Density

number

๊ณต๊ธฐ ์ค‘ ์ž…์ž์˜ ๋ฐ€๋„๋ฅผ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

๊ฐ’์ด ๋†’์•„์งˆ์ˆ˜๋ก ๊ฒŒ์ž„ ์„ธ๊ณ„๊ฐ€ ๋” ํ๋ฆฟํ•˜๊ณ  ์•ˆ๊ฐœ ๋‚€ ๋“ฏํ•œ ๋ถ„์œ„๊ธฐ๋กœ ํ‘œํ˜„๋ฉ๋‹ˆ๋‹ค.

Code Samples

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

Atmosphere.Density = 0.2

FogFalloffClear

number

์ž…์ž๊ฐ€ ๊ฑฐ๋ฆฌ๋ณ„๋กœ ์–ผ๋งˆ๋‚˜ ๋น ๋ฅด๊ฒŒ ์‚ฌ๋ผ์ง€๋Š”์ง€๋ฅผ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

๊ฐ’์ด ๋‚ฎ์„์ˆ˜๋ก ์•ˆ๊ฐœ๊ฐ€ ๋ฉ€๋ฆฌ๊นŒ์ง€ ์œ ์ง€๋˜๋ฉฐ, ๊ฐ’์ด ๋†’์„์ˆ˜๋ก ๊ฐ€๊นŒ์šด ๊ฑฐ๋ฆฌ์—์„œ ๋น ๋ฅด๊ฒŒ ๊ฐ์‡ ๋ฉ๋‹ˆ๋‹ค.

Code Samples

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

Atmosphere.FogFalloffClear = 0.1

StartDistance

number

์ž…์ž๊ฐ€ ์‹œ์ž‘๋˜๋Š” ๊ฑฐ๋ฆฌ๋ฅผ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

๊ฐ’์ด ๋‚ฎ์„์ˆ˜๋ก ๊ฐ€๊นŒ์šด ๊ฑฐ๋ฆฌ์—์„œ ์•ˆ๊ฐœ๊ฐ€ ์‹œ์ž‘๋˜๋ฉฐ, ๊ฐ’์ด ๋†’์„์ˆ˜๋ก ๋จผ ๊ฑฐ๋ฆฌ์—์„œ ์•ˆ๊ฐœ๊ฐ€ ์‹œ์ž‘๋ฉ๋‹ˆ๋‹ค.

Code Samples

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

Atmosphere.StartDistance = 1000

Color

Color3

๋Œ€๊ธฐ์˜ ์ƒ‰์ƒ์„ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

Code Samples

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

Atmosphere.Color = Color3.new(255, 0, 0)

Last updated