ドキュメント

Unity Engine

Unity Engine

LightType

The light type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.