Apprendre
Classe de moteur
Lighting
Création impossible
Service

*Ce contenu est traduit en utilisant l'IA (Beta) et peut contenir des erreurs. Pour consulter cette page en anglais, clique ici.



Référence API
Propriétés
Ambient
Lecture parallèle
Capacités : Environment
Lighting.Ambient:Color3

Brightness
Lecture parallèle
Capacités : Environment
Lighting.Brightness:number

ClockTime
Non répliqué
Lecture parallèle
Capacités : Environment
Lighting.ClockTime:number

ColorShift_Bottom
Lecture parallèle
Capacités : Environment
Lighting.ColorShift_Bottom:Color3

ColorShift_Top
Lecture parallèle
Capacités : Environment
Lighting.ColorShift_Top:Color3

EnvironmentDiffuseScale
Lecture parallèle
Capacités : Environment
Lighting.EnvironmentDiffuseScale:number

EnvironmentSpecularScale
Lecture parallèle
Capacités : Environment
Lighting.EnvironmentSpecularScale:number

ExposureCompensation
Lecture parallèle
Capacités : Environment
Lighting.ExposureCompensation:number

ExtendLightRangeTo120
Non scriptable
Lecture parallèle
Capacités : Environment
Lighting.ExtendLightRangeTo120:Enum.RolloutState

FogColor
Lecture parallèle
Capacités : Environment
Lighting.FogColor:Color3

FogEnd
Lecture parallèle
Capacités : Environment
Lighting.FogEnd:number

FogStart
Lecture parallèle
Capacités : Environment
Lighting.FogStart:number

GeographicLatitude
Lecture parallèle
Capacités : Environment
Lighting.GeographicLatitude:number

GlobalShadows
Lecture parallèle
Capacités : Environment
Lighting.GlobalShadows:boolean

LightingStyle
Sécurité des scripts Roblox
Lecture parallèle
Capacités : Environment
Lighting.LightingStyle:Enum.LightingStyle

OutdoorAmbient
Lecture parallèle
Capacités : Environment
Lighting.OutdoorAmbient:Color3

Outlines
Déprécié

PrioritizeLightingQuality
Sécurité des scripts Roblox
Lecture parallèle
Capacités : Environment
Lighting.PrioritizeLightingQuality:boolean

ShadowColor
Déprécié

ShadowSoftness
Lecture parallèle
Capacités : Environment
Lighting.ShadowSoftness:number

Technology
Déprécié

TimeOfDay
Lecture parallèle
Capacités : Environment
Lighting.TimeOfDay:string

Méthodes
GetMinutesAfterMidnight
Écrire en parallèle
Capacités : Environment
Lighting:GetMinutesAfterMidnight():number
Retours

getMinutesAfterMidnight
Déprécié

GetMoonDirection
Écrire en parallèle
Capacités : Environment
Lighting:GetMoonDirection():Vector3
Retours

GetMoonPhase
Déprécié

GetSunDirection
Écrire en parallèle
Capacités : Environment
Lighting:GetSunDirection():Vector3
Retours

SetMinutesAfterMidnight
Capacités : Environment
Lighting:SetMinutesAfterMidnight(minutes:number):()
Paramètres
minutes:number
Retours
()

setMinutesAfterMidnight
Déprécié

Événements
LightingChanged
Capacités : Environment
Lighting.LightingChanged(skyChanged:boolean):RBXScriptSignal
Paramètres
skyChanged:boolean

©2026 Société Roblox. Roblox, le logo Roblox et Powering Imagination font partie de nos marques déposées aux États-Unis et dans d'autres pays.