SpotLight
A light source that emits light directionally in the shape of a cone with a spherical base.
Memory category | Instances |
---|
Member index 3
Description
A Spotlight emits light of a specified Color and Brightness in the shape of a cone with a spherical base. This object is ideal for directional light sources like flashlights and headlights.
Range controls the distance of illumination and Angle defines the angle of light emission from the cone's apex as illustrated below.
A spotlight must be a direct child of a BasePart or Attachment and will exhibit the following behavior:
When the spotlight is parented to a BasePart, the Face property determines the face of the part from which light emanates.
Although Attachments don't have faces, the Face property determines the axis of the attachment from which light emanates; -Z is front, +X is right, +Y is top, etc.
See also SurfaceLight and PointLight.
History 24
- 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
- 131 Add Face
- 95 Add Range
- 95 Add Angle
- 95 Add SpotLight
- 94 Remove SpotLight
- 95 Add Range
- 95 Add Angle
- 95 Add SpotLight
- 94 Remove SpotLight
- 95 Add Range
- 95 Add Angle
- 95 Add SpotLight
Members 3
Angle
Type | Default | |
---|---|---|
float |
The angle of which the light is shone from the SpotLight.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
Face
Type | Default | |
---|---|---|
NormalId |
Sets the side of the parent that the SpotLight comes from.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
Range
Type | Default | |
---|---|---|
float |
The size of the area that the SpotLight will illuminate.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |