Modifica

Condividi tramite


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:
 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)

Parameters

materialInstance
MaterialInstance

The material instance which contains the updated materials.

Implements

Applies to