Constructor MeshData
MeshData()
Create an empty container
Declaration
public MeshData()
MeshData(List<Renderer>, IList<Mesh>, IList<Material[]>)
Create a MeshData will info set into the appropriate containers
Declaration
public MeshData(List<Renderer> renderers, IList<Mesh> meshes, IList<Material[]> materials)
Parameters
Type | Name | Description |
---|---|---|
List<Renderer> | renderers | Renderers that need to match mesh and material list |
IList<Mesh> | meshes | Meshes that need to match renderers and materials list |
IList<Material[]> | materials | Mateterials that need to match renderers and mesh list |