MaterialRestorer.Restore(Material) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Call this method to restore a material to the state in time it was called with AddMaterialSnapshot. This only works with material assets.
public static void Restore (UnityEngine.Material material);
static member Restore : UnityEngine.Material -> unit
Public Shared Sub Restore (material As Material)
Parameters
- material
- UnityEngine.Material