文档

Unity Engine

Unity Engine

shape

This property describes the shape of the spot light. Only Scriptable Render Pipelines use this property; the built-in renderer does not support it.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. This property has been deprecated. Use Light.type instead.
public LightShape shape { get; set; }