docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CombineMaterials

    CombineMaterials(OccurrenceList, BakeOption, bool, bool)

    Combine all given meshes to one mesh with one material (baked)

    Declaration
    public void CombineMaterials(OccurrenceList occurrences, BakeOption bakingOptions, bool overrideExistingUVs = true, bool singularizeOnAO = false)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    BakeOption bakingOptions

    Baking options

    bool overrideExistingUVs

    If True, override existing UVs on channel

    bool singularizeOnAO

    If true, singularize all instances in the selected subtree if we want to bake AO in the texture

    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)