MaterialInstance.Instance(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.
Creates a new material instance based on a source material. The name is updated to reflect being an instance.
public static UnityEngine.Material Instance (UnityEngine.Material source);
static member Instance : UnityEngine.Material -> UnityEngine.Material
Public Shared Function Instance (source As Material) As Material
Parameters
- source
- UnityEngine.Material
Returns
UnityEngine.Material