Share via


ClippingPrimitive.OnMaterialChanged(MaterialInstance) Method

Definition

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 void OnMaterialChanged (Microsoft.MixedReality.GraphicsTools.MaterialInstance materialInstance);
abstract member OnMaterialChanged : Microsoft.MixedReality.GraphicsTools.MaterialInstance -> unit
override this.OnMaterialChanged : Microsoft.MixedReality.GraphicsTools.MaterialInstance -> unit
Public Sub OnMaterialChanged (materialInstance As MaterialInstance)

Parameters

materialInstance
MaterialInstance

The material instance which contains the updated materials.

Implements

Applies to