التعلُّم
Engine Class
SurfaceLight

*This content will be available in your selected language soon.


Summary
Inherited Members
Code Samples
Creating a New Surface Light
local part = Instance.new("Part")
part.Anchored = true
part.Position = Vector3.new(0, 0, 0)
part.Parent = workspace
local light = Instance.new("SurfaceLight")
light.Color = Color3.fromRGB(255, 255, 255)
light.Brightness = 1
light.Range = 16
light.Parent = part

API Reference
Properties
Angle
Read Parallel
Capabilities: Basic
SurfaceLight.Angle:number

Face
Read Parallel
Capabilities: Basic
SurfaceLight.Face:Enum.NormalId

Range
Read Parallel
Capabilities: Basic
SurfaceLight.Range:number

©2026 شركة Roblox Corporation. تُعد منصّة Roblox، وشعار Roblox وشعار "توسيع حدود المخيلة"، من ضمن علاماتنا التجارية المسجّلة وغير المسجّلة في الولايات المتحدة وبلدان أخرى.