Method RandomPointsInSphere
RandomPointsInSphere(float3, Single, NativeArray<float3>, JobHandle)
Declaration
public static JobHandle RandomPointsInSphere(float3 center, float radius, NativeArray<float3> points, JobHandle inputDeps)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | center | |
| Single | radius | |
| NativeArray<float3> | points | |
| JobHandle | inputDeps |
Returns
| Type | Description |
|---|---|
| JobHandle |
RandomPointsInSphere(float3, Single, NativeArray<float3>)
Declaration
public static void RandomPointsInSphere(float3 center, float radius, NativeArray<float3> points)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | center | |
| Single | radius | |
| NativeArray<float3> | points |