Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RevertAllPropertyOverrides()

Removes all property overrides on this material.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void RevertAllPropertyOverrides()

Remarks

After reverting all Property overrides, the material will be in the same state as it's direct parent. Note that this method is Editor-only.
Additional Resources: Material.RevertPropertyOverride.