Version: 2022.3
언어: 한국어
public int vertexCount ;

설명

Returns the number of vertices in the Mesh (Read Only).

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Mesh mesh = GetComponent<MeshFilter>().mesh; print(mesh.vertexCount); } }