ドキュメント

Unity Engine

Unity Engine

indexCount

Index count for this sub-mesh face data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public int indexCount { readonly get; set; }

Remarks

This property, together with SubMeshDescriptor.indexStart, determines which part of the whole index buffer is used by a particular sub-mesh. Values in the index buffer are interpreted according to the SubMeshDescriptor.topology property, for example the usual MeshTopology.Triangles topology needs three indices for each triangle.