Method GetMeshData
GetMeshData(IList<GameObject>)
Collect all source data (Renderers, meshs, materials)
Declaration
public static MeshData GetMeshData(this IList<GameObject> input)
Parameters
Type | Name | Description |
---|---|---|
IList<GameObject> | input | Gameobjects that will be used |
Returns
Type | Description |
---|---|
MeshData |
GetMeshData(GameObject, out Renderer, out Mesh, out Material[])
Collect all source data (Renderers, meshs, materials)
Declaration
public static bool GetMeshData(this GameObject gameObject, out Renderer renderer, out Mesh mesh, out Material[] materials)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | Gameobjects that will be used |
Renderer | renderer | Collection to which renderers found will be stored |
Mesh | mesh | Collection to which meshs found will be stored |
Material[] | materials | Collection to which materials found will be stored |
Returns
Type | Description |
---|---|
bool |