Class
Light
NotCreatable
Light is a root class for dynamic lighting related objects.
Light is a root class for dynamic lighting related objects.
Properties 4#
Brightnessfloat | Sets how bright the emitted light is, defaults to 1.ReadSafe |
ColorColor3 | The color of the emitted light.ReadSafe |
Enabledboolean | If set to true, light will be emitted from the source object.ReadSafe |
Shadowsboolean | If set to true, will project shadows if light is blocked by an obstacle.ReadSafe |
Brightness: float#
ReadSafe
Sets how bright the emitted light is, defaults to 1.
Color: Color3#
ReadSafe
The color of the emitted light.
Enabled: boolean#
ReadSafe
If set to true, light will be emitted from the source object.
Shadows: boolean#
ReadSafe
If set to true, will project shadows if light is blocked by an obstacle.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild