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