docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TransferSubpartMaterialsOnPatches

    TransferSubpartMaterialsOnPatches(uint)

    Assign SubpartMaterialComponent materials on the occurrence's part shapes. This might affect other Part in the scene if not singularized before.

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void TransferSubpartMaterialsOnPatches(uint occurrence)
    Parameters
    Type Name Description
    uint occurrence

    The occurrence which has sub materials assigned

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)