Method PixyzMeshToUnityObject
PixyzMeshToUnityObject(uint[])
Retrieve a list of gameobject from pixyz meshs, transform are not applied.
Declaration
public GameObject[] PixyzMeshToUnityObject(uint[] meshIds)
Parameters
Type | Name | Description |
---|---|---|
uint[] | meshIds | Meshes that need to be translate to unity |
Returns
Type | Description |
---|---|
GameObject[] | List of GameObject created form the array of meshId provided |
PixyzMeshToUnityObject(IEnumerable<MeshDefinition>)
Retrieve a list of gameobject from pixyz meshs definitions, transform are not applied.
Declaration
public GameObject[] PixyzMeshToUnityObject(IEnumerable<MeshDefinition> sourceDefs)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MeshDefinition> | sourceDefs | MeshDefinition that need to be translate to unity |
Returns
Type | Description |
---|---|
GameObject[] | List of GameObject created form the array of meshDefinition provided |
PixyzMeshToUnityObject(MeshDefinition)
Retrieve a gameobject from a pixyz mesh definition, transform is not applied.
Declaration
public GameObject PixyzMeshToUnityObject(MeshDefinition def)
Parameters
Type | Name | Description |
---|---|---|
MeshDefinition | def | MeshDefinition that need to be translate to unity |
Returns
Type | Description |
---|---|
GameObject | GameObject created form the meshDefinition provided |