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 – The identifiers of the vertices.