docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UnityMeshToPixyz

    UnityMeshToPixyz(PiXYZAPI, Renderer, Mesh, Material[], uint)

    Create a mesh definition from input without creating into pixyz. (pixyzMeshes and pixyzMatrices are auto filled)

    Declaration
    public MeshDefinition UnityMeshToPixyz(PiXYZAPI api, Renderer renderer, Mesh mesh, Material[] materials, uint index = 0)
    Parameters
    Type Name Description
    PiXYZAPI api

    API instance that will be used when making call to pixyz

    Renderer renderer

    The renderer that will be converted to pixyz

    Mesh mesh

    the mesh that will be converted to pixyz

    Material[] materials

    Materials that will be converted to pixyz

    uint index

    an externalID used to identify the mesh generated

    Returns
    Type Description
    MeshDefinition

    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)