文档

Unity Engine

Unity Engine

mainLightIndex

Configures what light should be used as main light.
阅读时间1 分钟最后更新于 1 个月前

Definition

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.