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