Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ActiveSubshaderIndex

Returns the index of the active subshader or -1 if none is currently active.
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

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