Method FromMaterialMeshIndexRange
FromMaterialMeshIndexRange(int, int)
Creates an instance of MaterialMeshInfo from a range of material/mesh/submesh index in the corresponding RenderMeshArray.
Declaration
public static MaterialMeshInfo FromMaterialMeshIndexRange(int rangeStart, int rangeLength)
Parameters
| Type | Name | Description |
|---|---|---|
| int | rangeStart | The first index of the range in MaterialMeshIndices. |
| int | rangeLength | The length of the range in MaterialMeshIndices. |
Returns
| Type | Description |
|---|---|
| MaterialMeshInfo |