Method AddUnityMeshToPixyzCreate
AddUnityMeshToPixyzCreate(PiXYZAPI, Renderer, Mesh, Material[])
Create a mesh from input into pixyz without clearing pixyzMeshes and pixyzMatrices
Declaration
public uint AddUnityMeshToPixyzCreate(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 |