Method Samples
Samples(int, out JobHandle)
Schedules a job to generate an array of samples
Declaration
public override NativeArray<float> Samples(int sampleCount, out JobHandle jobHandle)
Parameters
Type | Name | Description |
---|---|---|
int | sampleCount | The number of samples to generate |
JobHandle | jobHandle | The handle of the scheduled job |
Returns
Type | Description |
---|---|
NativeArray<float> | A NativeArray of samples |