Roblox API Reference

Lighting On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (28)

Type Member History
Color3 Ambient
float Brightness
float ClockTime 303
Color3 ColorShift_Bottom
Color3 ColorShift_Top
float EnvironmentDiffuseScale 407
float EnvironmentSpecularScale 407
float ExposureCompensation 355
Color3 FogColor 49
float FogEnd 49
float FogStart 49
float GeographicLatitude
bool GlobalShadows 98
Color3 OutdoorAmbient 101
bool Outlines 114 395
Color3 ShadowColor 254
float ShadowSoftness 380
Technology Technology 355 359
bool TempUseNewSkyRemovalBehaviour 485
string TimeOfDay
double GetMinutesAfterMidnight ()
Vector3 GetMoonDirection ()
float GetMoonPhase ()
Vector3 GetSunDirection ()
void SetMinutesAfterMidnight (double minutes)
double getMinutesAfterMidnight () 50 49 50
void setMinutesAfterMidnight (double minutes) 50 49 50
LightingChanged (bool skyChanged) 429 428 429
51 members inherited from Instance

Removed member index (1)

Type Member History
bool LegacyOutlines 389 433

History

Members

Ambient On DevHub

Brightness On DevHub

ClockTime On DevHub

This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [NotReplicated]

ColorShift_Bottom On DevHub

ColorShift_Top On DevHub

EnvironmentDiffuseScale On DevHub

History

EnvironmentSpecularScale On DevHub

History

ExposureCompensation On DevHub

History

FogColor On DevHub

History

FogEnd On DevHub

History

FogStart On DevHub

History

GeographicLatitude On DevHub

GetMinutesAfterMidnight On DevHub

Name Type Default
No parameters.

GetMoonDirection On DevHub

Name Type Default
No parameters.

GetMoonPhase On DevHub

Name Type Default
No parameters.

GetSunDirection On DevHub

Name Type Default
No parameters.

GlobalShadows On DevHub

History

LightingChanged On DevHub

Name Type Default
skyChanged bool none

History

OutdoorAmbient On DevHub

History

Outlines On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.

History

Tags: [Deprecated]

SetMinutesAfterMidnight On DevHub

Name Type Default
minutes double none

ShadowColor On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [NotReplicated, Deprecated]

ShadowSoftness On DevHub

History

Technology On DevHub

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

TempUseNewSkyRemovalBehaviour On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, NotReplicated]

TimeOfDay On DevHub

getMinutesAfterMidnight On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Deprecated]

setMinutesAfterMidnight On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
minutes double none

History

Tags: [Deprecated]

Removed members

LegacyOutlines

This member is not scriptable. It cannot be accessed by Lua code.

History

Tags: [NotScriptable]

Relevant enums (1)