SpotLight
SpotLight : Light
Overview
SpotLight는 원뿔 모양으로 빛을 방출하는 조명 객체로, 손전등이나 무대 조명, 차량 전조등 등 방향성이 강조된 조명을 표현할 때 적합합니다.
정상적으로 작동하려면 BasePart 또는 Attachment의 자식으로 설정되어야 하며, 지정된 Face 방향에서 빛이 방출됩니다.
Properties
Angle
number
원뿔 형태로 퍼지는 빛의 확산 각도를 설정하는 속성입니다.
Code Samples
local SpotLight = script.Parent
print(SpotLight.Angle)
Face
Enum.NormalId
부모 객체의 어느 면에서 빛을 방출할지를 설정하는 속성입니다.
Code Samples
local SpotLight = script.Parent
print(SpotLight.Face)
Range
number
조명을 투사할 수 있는 범위를 설정하는 속성입니다.
Code Samples
local SpotLight = script.Parent
print(SpotLight.Range)
Methods
Events
See also
조명Last updated