文档

Unity Engine

Download Unity

Unity Engine

mainLightIndex

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

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.