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