Method AddMeshToNode
AddMeshToNode(int, Mesh, int[])
Assigns a mesh to a previously added node
Declaration
void AddMeshToNode(int nodeId, Mesh uMesh, int[] materialIds)
Parameters
Type | Name | Description |
---|---|---|
int | nodeId | Index of the node to add the mesh to |
Mesh | uMesh | Unity mesh to be assigned and exported |
int[] | materialIds | glTF materials IDs to be assigned (multiple in case of sub-meshes) |