MixedRealityWireframeShaderGUI.AssignNewShaderToMaterial 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.
public:
override void AssignNewShaderToMaterial(UnityEngine::Material ^ material, UnityEngine::Shader ^ oldShader, UnityEngine::Shader ^ newShader);
public override void AssignNewShaderToMaterial (UnityEngine.Material material, UnityEngine.Shader oldShader, UnityEngine.Shader newShader);
override this.AssignNewShaderToMaterial : UnityEngine.Material * UnityEngine.Shader * UnityEngine.Shader -> unit
Public Overrides Sub AssignNewShaderToMaterial (material As Material, oldShader As Shader, newShader As Shader)
Parameters
- material
- UnityEngine.Material
- oldShader
- UnityEngine.Shader
- newShader
- UnityEngine.Shader