docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetMesh

    GetMesh(MaterialMeshInfo)

    Gets the mesh for given MaterialMeshInfo.

    Declaration
    public Mesh GetMesh(MaterialMeshInfo materialMeshInfo)
    Parameters
    Type Name Description
    MaterialMeshInfo materialMeshInfo

    The MaterialMeshInfo to use.

    Returns
    Type Description
    Mesh

    Returns the associated Mesh instance or null if the mesh is runtime.

    In This Article
    Back to top
    Copyright © 2023 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)