docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UnityMeshToPixyzCreate

    UnityMeshToPixyzCreate(PiXYZAPI, Renderer, Mesh, Material[])

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

    Declaration
    public uint UnityMeshToPixyzCreate(PiXYZAPI api, Renderer renderer, Mesh mesh, Material[] materials)
    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

    Returns
    Type Description
    uint

    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)