Version: 2023.2
言語: 日本語
public void GetVertices (List<Vector3> vertices);

パラメーター

vertices A list of vertex positions to populate.

説明

Gets the vertex positions of the Mesh.

Use this method instead of vertices if you control the life cycle of the list passed in and you want to avoid allocating a new array with every access.

Additional resources: AcquireReadOnlyMeshData function.