기술 자료

Unity Engine

Download Unity

Unity Engine

GetVertices(List<Vector3>)

Gets the vertex positions of the Mesh.
읽는 시간 1분최근 업데이트: 11시간 전

Definition

public void GetVertices(List<Vector3> vertices)

Parameters

A list of vertex positions to populate.

Remarks

Use this method instead of Mesh.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: Mesh.AcquireReadOnlyMeshData function.