Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LightType

enumeration

Description

The light type.

Properties

DirectionalAn infinite directional light.
PointA point light emitting light in all directions.
SpotA spot light emitting light in a direction with a cone shaped opening angle.
RectangleA light shaped like a rectangle emitting light into the hemisphere that it is facing.

Did you find this page useful? Please give it a rating: