기술 자료

Unity Engine

Unity Engine

indexCount

Index count for this sub-mesh face data.
읽는 시간 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.