SurfaceLight
A light source that emits illumination of a specified color and brightness from a face for a specified range.
Memory category | Instances |
---|
Member index 3
Description
A SurfaceLight is a light source that emits illumination of a specified Light.Color and Light.Brightness from a SurfaceLight.Face for a specified SurfaceLight.Range.
In order for a SurfaceLight to provide illumination, it must be the direct child of a BasePart or Attachment (the part or attachment itself must be a descendant of the Workspace). If a SurfaceLight is parented to a part, then the light will emanate from the part's selected face(s). If parented to an attachment SurfaceLight is equivalent to a SpotLight.
For more light types, please see the see also section.
See Also
History 16
- 554 Change Default of Range from 16 to
- 554 Change Default of Face from Front to
- 554 Change Default of Angle from 90 to
- 553 Change Default of Range from to 16
- 553 Change Default of Face from to Front
- 553 Change Default of Angle from to 90
- 486 Change ThreadSafety of Range from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Face from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Angle from ReadOnly to ReadSafe
- 462 Change ThreadSafety of Range from to ReadOnly
- 462 Change ThreadSafety of Face from to ReadOnly
- 462 Change ThreadSafety of Angle from to ReadOnly
- 184 Add Range
- 184 Add Face
- 184 Add Angle
- 184 Add SurfaceLight
Members 3
Angle
Type | Default | |
---|---|---|
float |
The angle of which the light is shone from the SurfaceLight.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
Face
Type | Default | |
---|---|---|
NormalId |
Sets the side of the parent that the SurfaceLight comes from.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
Range
Type | Default | |
---|---|---|
float |
The distance from the SurfaceLight's face that will illuminate.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |