We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Interface IMaterialInstanceOwner

    Optional interface to use with objects which need to take ownership of MaterialInstance(s).

    Namespace: Microsoft.MixedReality.Toolkit.Rendering
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMaterialInstanceOwner

    Methods

    OnMaterialChanged(MaterialInstance)

    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.

    Declaration
    void OnMaterialChanged(MaterialInstance materialInstance)
    Parameters
    Type Name Description
    MaterialInstance materialInstance

    The material instance which contains the updated materials.

    In This Article
    Back to top Generated by DocFX