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 |