ドキュメント

Unity Engine

Unity Engine

LightType

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

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum LightType

Remarks

Additional Resources: Light.type, light component.

Fields

Value

Description

BoxThe light is a box-shaped spot light.
DirectionalThe light is a directional light.
DiscThe light is a disc-shaped area light.
PointThe light is a point light.
PyramidThe light is a pyramid-shaped spot light.
RectangleThe light is a rectangle-shaped area light.
SpotThe light is a cone-shaped spot light.
TubeThe light is a tube-shaped area light.