Aprenda
Classe do mecanismo
Lighting
Não criável
Serviço

*Este conteúdo é traduzido por IA (Beta) e pode conter erros. Para ver a página em inglês, clique aqui.



Referência API
Propriedades
Ambient
Ler Parallel
Recursos: Environment
Lighting.Ambient:Color3

Brightness
Ler Parallel
Recursos: Environment
Lighting.Brightness:number

ClockTime
Não replicado
Ler Parallel
Recursos: Environment
Lighting.ClockTime:number

ColorShift_Bottom
Ler Parallel
Recursos: Environment
Lighting.ColorShift_Bottom:Color3

ColorShift_Top
Ler Parallel
Recursos: Environment
Lighting.ColorShift_Top:Color3

EnvironmentDiffuseScale
Ler Parallel
Recursos: Environment
Lighting.EnvironmentDiffuseScale:number

EnvironmentSpecularScale
Ler Parallel
Recursos: Environment
Lighting.EnvironmentSpecularScale:number

ExposureCompensation
Ler Parallel
Recursos: Environment
Lighting.ExposureCompensation:number

ExtendLightRangeTo120
Não scriptável
Ler Parallel
Recursos: Environment
Lighting.ExtendLightRangeTo120:Enum.RolloutState

FogColor
Ler Parallel
Recursos: Environment
Lighting.FogColor:Color3

FogEnd
Ler Parallel
Recursos: Environment
Lighting.FogEnd:number

FogStart
Ler Parallel
Recursos: Environment
Lighting.FogStart:number

GeographicLatitude
Ler Parallel
Recursos: Environment
Lighting.GeographicLatitude:number

GlobalShadows
Ler Parallel
Recursos: Environment
Lighting.GlobalShadows:boolean

LightingStyle
Segurança do script Roblox
Ler Parallel
Recursos: Environment
Lighting.LightingStyle:Enum.LightingStyle

OutdoorAmbient
Ler Parallel
Recursos: Environment
Lighting.OutdoorAmbient:Color3

Outlines
Obsoleto

PrioritizeLightingQuality
Segurança do script Roblox
Ler Parallel
Recursos: Environment
Lighting.PrioritizeLightingQuality:boolean

ShadowColor
Obsoleto

ShadowSoftness
Ler Parallel
Recursos: Environment
Lighting.ShadowSoftness:number

Technology
Obsoleto

TimeOfDay
Ler Parallel
Recursos: Environment
Lighting.TimeOfDay:string

Métodos
GetMinutesAfterMidnight
Escrever Parallel
Recursos: Environment
Lighting:GetMinutesAfterMidnight():number
Devolução

getMinutesAfterMidnight
Obsoleto

GetMoonDirection
Escrever Parallel
Recursos: Environment
Lighting:GetMoonDirection():Vector3
Devolução

GetMoonPhase
Obsoleto

GetSunDirection
Escrever Parallel
Recursos: Environment
Lighting:GetSunDirection():Vector3
Devolução

SetMinutesAfterMidnight
Recursos: Environment
Lighting:SetMinutesAfterMidnight(minutes:number):()
Parâmetros
minutes:number
Devolução
()

setMinutesAfterMidnight
Obsoleto

Eventos
LightingChanged
Recursos: Environment
Lighting.LightingChanged(skyChanged:boolean):RBXScriptSignal
Parâmetros
skyChanged:boolean

©2026 Roblox Corporation, Roblox, o logotipo Roblox e Powering Imagination estão entre nossas marcas registradas e não registradas nos EUA e em outros países.