MaterialRestorer Class
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.
Utility class to help restore materials which are assets (normally shared materials) to their original state when modified.
public static class MaterialRestorer
type MaterialRestorer = class
Public Class MaterialRestorer
- Inheritance
-
MaterialRestorer
Methods
Capture(Material) |
Call this method to save a snapshot of a materials current state in time. This only works with material assets. |
Restore(Material) |
Call this method to restore a material to the state in time it was called with AddMaterialSnapshot. This only works with material assets. |