docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ListSubpartMaterials

    ListSubpartMaterials(uint)

    list all the materials used in the part shape or overrided with a SubpartMaterial component

    Declaration
    public MaterialList ListSubpartMaterials(uint occurrence)
    Parameters
    Type Name Description
    uint occurrence

    The occurrence which contains sub materials

    Returns
    Type Description
    MaterialList
    In This Article
    Back to top
    Copyright © 2024 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)