기술 자료

Unity Engine

Unity Engine

LightType

The type of a Light.
읽는 시간 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.