Primitive. On Material Changed(MaterialInstance) Method
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.
Method which is invoked by a MaterialInstance when an external material change is detected. This normally occurs when materials are changed via Renderer.material, Renderer.materials, or via the editor.
public: virtual void OnMaterialChanged(Microsoft::MixedReality::Toolkit::Rendering::MaterialInstance ^ materialInstance);
public void OnMaterialChanged (Microsoft.MixedReality.Toolkit.Rendering.MaterialInstance materialInstance);
abstract member OnMaterialChanged : Microsoft.MixedReality.Toolkit.Rendering.MaterialInstance -> unit override this.OnMaterialChanged : Microsoft.MixedReality.Toolkit.Rendering.MaterialInstance -> unit
Public Sub OnMaterialChanged (materialInstance As MaterialInstance)
The material instance which contains the updated materials.