Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LightType

The light type.
Read time 1 minuteLast updated 12 days ago

Definition

public enum LightType : byte

Fields

Value

Description

DirectionalAn infinite directional light.
DiscA light shaped like a disc emitting light into the hemisphere that it is facing.
PointA point light emitting light in all directions.
RectangleA light shaped like a rectangle emitting light into the hemisphere that it is facing.
SpotA spot light emitting light in a direction with a cone shaped opening angle.
SpotBoxShapeA box-shaped spot light. This type is only compatible with Scriptable Render Pipelines; it is not compatible with the built-in render pipeline.
SpotPyramidShapeA pyramid-shaped spot light. This type is only compatible with Scriptable Render Pipelines; it is not compatible with the built-in render pipeline.