Lighting
Inherits Instance.
A service: the global Lighting is the game's one Lighting.
Properties
| Name | Type | Notes |
|---|---|---|
Ambient | Color | |
AutoExposure | boolean | |
Brightness | number | |
ClockTime | number | |
EnvironmentDiffuseScale | number | |
EnvironmentSpecularScale | number | |
ExposureCompensation | number | |
FogColor | Color | |
FogEnd | number | |
FogStart | number | |
GeographicLatitude | number | |
GlobalShadows | boolean | |
OutdoorAmbient | Color | |
ShadowSoftness | number |
Methods
GetMinutesAfterMidnight(): numberGetMoonDirection(): Vector3GetSunDirection(): Vector3SetMinutesAfterMidnight(minutes: number): ()
Inherited
From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.