文档

Unity Engine

Download Unity

Unity Engine

ActiveSubshaderIndex

Returns the index of the active subshader or -1 if none is currently active.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public int ActiveSubshaderIndex { get; }

Remarks

The active subshader is the first one that is supported and satisfied the LOD needs.