Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


globalIlluminationFlags

Defines how the material should interact with lightmaps and lightprobes.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public MaterialGlobalIlluminationFlags globalIlluminationFlags { get; set; }

Remarks

A custom shader GUI will usually set these values based on user input.