Light

Light : Instance

Overview

SpotLight, PointLight์™€ ๊ฐ™์€ ์กฐ๋ช… ํšจ๊ณผ ์ธ์Šคํ„ด์Šค์˜ ๊ธฐ๋ณธ ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค.

Properties

Brightness

number

์กฐ๋ช…์˜ ๋ฐ๊ธฐ๋ฅผ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

Code Samples

PointLight.Brightness = 5000

Color

Color3

์กฐ๋ช…์˜ ์ƒ‰์ƒ์„ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

Code Samples

PointLight.Color = Color3.fromRGB(255, 0, 0)

Enabled

bool

์กฐ๋ช…์˜ ํ™œ์„ฑํ™” ์—ฌ๋ถ€๋ฅผ ์„ค์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

Code Samples

PointLight.Enabled = false

Shadows

bool

ํ˜„์žฌ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

Code Samples

Methods

Events

See also

์กฐ๋ช…

Last updated