docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UnityMeshesToPixyzCreate

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

    Create meshes from input into pixyz. (pixyzMeshes and pixyzMatrices are auto filled) Handle instances

    Declaration
    public uint[] UnityMeshesToPixyzCreate(PiXYZAPI api, List<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

    List<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
    uint[]

    list of mesh id created from input

    UnityMeshesToPixyzCreate(in PiXYZAPI, in MeshData)

    Create meshes from input into pixyz. (pixyzMeshes and pixyzMatrices are auto filled) Handle instances

    Declaration
    public uint[] UnityMeshesToPixyzCreate(in PiXYZAPI api, in MeshData meshData)
    Parameters
    Type Name Description
    PiXYZAPI api

    API instance that will be used when making call to pixyz

    MeshData meshData

    meshData that contains all necessary info to convert to pixyz

    Returns
    Type Description
    uint[]

    list of mesh id created from input

    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)