월드 환경 관련 설정을 처리하는 객체에요.
속성
야간 사용 여부에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseDayNight = true --시간이 흐르게 해요
Environment.TimeSpeed = 90000 --값이 클수록 빨라져요
기본 설정 시간이에요. (단위 : 시간)
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.DefaultHour = 2
기본 설정 시간이요. (단위 : 분)
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.DefaultTime = 120
시간이 흐르는 속도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseDayNight = true --시간이 흐르게 해요
Environment.TimeSpeed = 90000 --값이 클수록 빨라져요
현재 시간을 얻어오거나 세팅할 수 있어요. (단위 : 분)
-- 샘플 --
local Environment = Workspace.Environment
print(Environment.CurrentTime)
현재 시간을 얻어오거나 세팅할 수 있어요. (단위 : 시간)
-- 샘플 --
local Environment = Workspace.Environment
print(Environment.CurrentHour)
해의 강도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.SunIntensity = 10
해의 광도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.SunBrightness = 10
해의 크기에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.SunSize = 10
북쪽 방향과의 오프셋 거리에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.NorthDirectionOffset = 10
해의 각도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.SunAngleInTheSky = 10
달의 강도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.MoonIntensity = 5
달의 광도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.MoonBrightness = 5
낮 시간 동안 숨길지 여부에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.HideMoonDuringDay = true
달의 Tex 사용 여부에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseTexMoon = false --달을 안보이게 해요
달의 Tex 사이즈에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.TexMoonSize = 10
달의 Text 거리에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.TexMoonDistance = -500000
구름의 속도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.CloudSpeed = 50 --값이 클수록 빨라져요
구름의 투명도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.CloudOpacity = 0.6
별의 밝기에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.StarsBrightness = 3
ColorCurve 사용 여부에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
떨어지는 높이에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.HorizonFalloff = 70
햇빛의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
달빛의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
천정의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
수평선의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
구름의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
Overall의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseColorCurve = false
Environment.SunlightColor = Color.new(50, 50, 50, 255)
Environment.MoonlightColor = Color.new(50, 50, 50, 255)
Environment.ZenithColor = Color.new(50, 50, 50, 255)
Environment.HorizonColor = Color.new(50, 50, 50, 255)
Environment.CloudColor = Color.new(50, 50, 50, 255)
Environment.OverallColor = Color.new(50, 50, 50, 255)
안개의 사용 여부에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.FogEnable = true
Environment.FogDensity = 1
Environment.FogHeightFalloff = 2
Environment.FogColor = Color.new(50, 50, 50, 255)
Environment.FogStartDistance = 1000
안개의 밀도에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.FogEnable = true
Environment.FogDensity = 1
Environment.FogHeightFalloff = 2
Environment.FogColor = Color.new(50, 50, 50, 255)
Environment.FogStartDistance = 1000
안개가 떨어지는 높이에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.FogEnable = true
Environment.FogDensity = 1
Environment.FogHeightFalloff = 2
Environment.FogColor = Color.new(50, 50, 50, 255)
Environment.FogStartDistance = 1000
안개의 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.FogEnable = true
Environment.FogDensity = 1
Environment.FogHeightFalloff = 2
Environment.FogColor = Color.new(50, 50, 50, 255)
Environment.FogStartDistance = 1000
안개의 시작 거리에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.FogEnable = true
Environment.FogDensity = 1
Environment.FogHeightFalloff = 2
Environment.FogColor = Color.new(50, 50, 50, 255)
Environment.FogStartDistance = 1000
기본 Ambient 사용 여부에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseDefaultAmbient = false
Environment.AmbientLight = Color.new(0, 255, 0, 255)
Ambient 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseDefaultAmbient = false
Environment.AmbientLight = Color.new(0, 255, 0, 255)
AmbientLightChar 컬러에요.
-- 샘플 --
local Environment = Workspace.Environment
wait(3)
Environment.UseDefaultAmbient = false
Environment.AmbientLightChar = Color.new(0, 255, 0, 255)
Last updated