mainLightIndex
Configures what light should be used as main light.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int mainLightIndex { get; set; }
Remarks
If not set, main light will be the visible brighest directional light. This is used to perform per-object light culling for the main light.
Additional Resources: ScriptableRenderContext.DrawRenderers.