Mesh.MeshData.GetSubMesh

Switch to Manual

Declaration

public Rendering.SubMeshDescriptor GetSubMesh(int index);

Parameters

index The index of the sub-mesh. See subMeshCount. If you specify an out of range index, Unity throws an exception.

Returns

SubMeshDescriptor Returns sub-mesh data.

Description

Gets data about a given sub-mesh in the MeshData.


Did you find this page useful? Please give it a rating: