vertexCount
Gets the number of vertices in the MeshData. (Read Only)
Read time 1 minuteLast updated 6 days ago
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.