random

fun random(random: Random = Random.Default): Vector3(source)

Selects a random 3D vector from the points stored in the hash grid.

Return

A randomly selected Vector3 from the hash grid.

Parameters

random

A random number generator to use for selection. Defaults to Random.Default.