Struct GeneratePoints
Syntax
public struct GeneratePoints
Methods
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 |
|
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 |
|
RandomPointsInUnitSphere(NativeArray<float3>)
Declaration
public static void RandomPointsInUnitSphere(NativeArray<float3> points)
Parameters
Type |
Name |
Description |
NativeArray<float3> |
points |
|
RandomPositionInsideUnitSphere(UInt32)
Declaration
public static float3 RandomPositionInsideUnitSphere(uint seed)
Parameters
Type |
Name |
Description |
UInt32 |
seed |
|
Returns