docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Set Material

    Rule Engine
    Replace GameObjects' Materials with the input. Use Modify > Switch Materials to switch Materials based on Material name.

    Parameters

    Parameter Type Description
    material Material
    topologyFilter MeshTopology Filter the mesh topology to apply the material on. For example, you can apply a material only on the triangles of a mesh.
    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)