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 |