Mesh.vertex_sample

Mesh.vertex_sample(size=1)[source]

A random sample of the vertices.

Parameters

size (int, optional) – The number of vertices in the random sample.

Returns

list[int] – The identifiers of the vertices.