docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindByActiveMaterial

    FindByActiveMaterial(uint, OccurrenceList)

    Find all part occurrence with a given material as active material (i.e. as seen in the rendering)

    Declaration
    public OccurrenceList FindByActiveMaterial(uint material, OccurrenceList roots = null)
    Parameters
    Type Name Description
    uint material

    A material

    OccurrenceList roots

    If specified, restrict the search from the given roots

    Returns
    Type Description
    OccurrenceList
    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)