docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UnityMeshesToPixyz

    UnityMeshesToPixyz(PiXYZAPI, IList<Renderer>, IList<Mesh>, IList<Material[]>)

    Create meshes definition from input without creating into pixyz. (pixyzMeshes and pixyzMatrices are auto filled) Does not handle instancing.

    Declaration
    public MeshDefinition[] UnityMeshesToPixyz(PiXYZAPI api, IList<Renderer> renderers, IList<Mesh> meshes, IList<Material[]> materials)
    Parameters
    Type Name Description
    PiXYZAPI api

    API instance that will be used when making call to pixyz

    IList<Renderer> renderers

    renderers used to convert to pixyz

    IList<Mesh> meshes

    meshes used to convert to pixyz

    IList<Material[]> materials

    materials used to convert to pixyz

    Returns
    Type Description
    MeshDefinition[]

    List of meshDefinition ready to be sent to pixyz

    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)