편집

다음을 통해 공유


IMaterialInstanceOwner.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::Toolkit::Rendering::MaterialInstance ^ materialInstance);
public void OnMaterialChanged (Microsoft.MixedReality.Toolkit.Rendering.MaterialInstance materialInstance);
abstract member OnMaterialChanged : Microsoft.MixedReality.Toolkit.Rendering.MaterialInstance -> unit
Public Sub OnMaterialChanged (materialInstance As MaterialInstance)

Parameters

materialInstance
MaterialInstance

The material instance which contains the updated materials.

Applies to