Class
PointLight
A light source that emits illumination from a single point.
A PointLight is a light source that emits illumination from a single point.
Light is emitted spherically based on the PointLight.Range of the
PointLight.
In order for a PointLight 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 PointLight is parented to a part, then the light will emanate from the
part's BasePart.Position. If a PointLight is parented to an
attachment, then the light will emanate from the attachment's
Attachment.WorldPosition.
For more light types, see the see also section.
See Also#
Properties 1#
Rangefloat | The size of the area that the PointLight will illuminate.ReadSafe |
Range: float#
ReadSafe
The size of the area that the PointLight will illuminate.
Inherited members#
Inherited from Light 4
Properties (4)
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