vertexCount
Gets the number of vertices in the MeshData. (Read Only)
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int vertexCount { get; }
Remarks
vertexCount determines the number of elements in all vertex attribute arrays, including positions (GetVertices), normals (GetNormals), and texture coordinates (GetUVs). Additional Resources: Mesh.vertexCount, GetVertexData, Mesh.AcquireReadOnlyMeshData.