Method RandomPointsInUnitSphere
RandomPointsInUnitSphere(NativeArray<float3>)
A function that generates random points inside of a unit sphere. Schedules and completes jobs, before returning to its caller.
Declaration
public static void RandomPointsInUnitSphere(NativeArray<float3> points)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<float3> | points | A NativeArray in which to store the randomly generated points |