Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ActiveSubshader

Returns the active subshader or null if none is currently active.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ShaderData.Subshader ActiveSubshader { get; }

Remarks

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