ドキュメント

Unity Engine

Unity Engine

LightShape

Describes the shape of a spot light.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
注意
Deprecated. This property has been deprecated. Use LightType.Spot, LightType.Pyramid, or LightType.Box instead.
public enum LightShape

Fields

Value

Description

BoxThe shape of the spot light resembles a box oriented along the ray direction.
ConeThe shape of the spot light resembles a cone. This is the default shape for spot lights.
PyramidThe shape of the spot light resembles a pyramid or frustum. You can use this to simulate a screening or barn door effect on a normal spot light.