docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetOccurrenceMaterial

    SetOccurrenceMaterial(uint, uint)

    Set the material on a occurrence

    Declaration
    public void SetOccurrenceMaterial(uint occurrence, uint material)
    Parameters
    Type Name Description
    uint occurrence

    Occurrence to set the material

    uint material

    The new occurrence material

    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)