Aprender
Clase de motor
Lighting
No creable
Servicio

*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.



Referencia API
Propiedades
Ambient
Leer paralelo
Capacidades: Environment
Lighting.Ambient:Color3

Brightness
Leer paralelo
Capacidades: Environment
Lighting.Brightness:number

ClockTime
No replicado
Leer paralelo
Capacidades: Environment
Lighting.ClockTime:number

ColorShift_Bottom
Leer paralelo
Capacidades: Environment
Lighting.ColorShift_Bottom:Color3

ColorShift_Top
Leer paralelo
Capacidades: Environment
Lighting.ColorShift_Top:Color3

EnvironmentDiffuseScale
Leer paralelo
Capacidades: Environment
Lighting.EnvironmentDiffuseScale:number

EnvironmentSpecularScale
Leer paralelo
Capacidades: Environment
Lighting.EnvironmentSpecularScale:number

ExposureCompensation
Leer paralelo
Capacidades: Environment
Lighting.ExposureCompensation:number

ExtendLightRangeTo120
No programable
Leer paralelo
Capacidades: Environment
Lighting.ExtendLightRangeTo120:Enum.RolloutState

FogColor
Leer paralelo
Capacidades: Environment
Lighting.FogColor:Color3

FogEnd
Leer paralelo
Capacidades: Environment
Lighting.FogEnd:number

FogStart
Leer paralelo
Capacidades: Environment
Lighting.FogStart:number

GeographicLatitude
Leer paralelo
Capacidades: Environment
Lighting.GeographicLatitude:number

GlobalShadows
Leer paralelo
Capacidades: Environment
Lighting.GlobalShadows:boolean

LightingStyle
Seguridad de scripts Roblox
Leer paralelo
Capacidades: Environment
Lighting.LightingStyle:Enum.LightingStyle

OutdoorAmbient
Leer paralelo
Capacidades: Environment
Lighting.OutdoorAmbient:Color3

Outlines
Obsoleto

PrioritizeLightingQuality
Seguridad de scripts Roblox
Leer paralelo
Capacidades: Environment
Lighting.PrioritizeLightingQuality:boolean

ShadowColor
Obsoleto

ShadowSoftness
Leer paralelo
Capacidades: Environment
Lighting.ShadowSoftness:number

Technology
Obsoleto

TimeOfDay
Leer paralelo
Capacidades: Environment
Lighting.TimeOfDay:string

Métodos
GetMinutesAfterMidnight
Escribir paralelo
Capacidades: Environment
Lighting:GetMinutesAfterMidnight():number
Devuelve

getMinutesAfterMidnight
Obsoleto

GetMoonDirection
Escribir paralelo
Capacidades: Environment
Lighting:GetMoonDirection():Vector3
Devuelve

GetMoonPhase
Obsoleto

GetSunDirection
Escribir paralelo
Capacidades: Environment
Lighting:GetSunDirection():Vector3
Devuelve

SetMinutesAfterMidnight
Capacidades: Environment
Lighting:SetMinutesAfterMidnight(minutes:number):()
Parámetros
minutes:number
Devuelve
()

setMinutesAfterMidnight
Obsoleto

Eventos
LightingChanged
Capacidades: Environment
Lighting.LightingChanged(skyChanged:boolean):RBXScriptSignal
Parámetros
skyChanged:boolean

©2026 Roblox Corporation. Roblox, el logotipo de Roblox y "Powering Imagination" son algunas de nuestras marcas registradas y no registradas en los Estados Unidos y otros países.