Light

Light : Instance

Overview

This is the base class for lighting effect instances such as SpotLight and PointLight

Properties

Brightness

number

This property sets the lightโ€™s intensity.

Code Samples

PointLight.Brightness = 5000

Color

Color3

This property sets the lightโ€™s color.

Code Samples

Enabled

bool

This property turns on/off the light.

Code Samples

Shadows

bool

Currently not supported.

Code Samples

Methods

Events

See also

Lighting

Last updated