Method Samples
Samples(int, out JobHandle)
Schedules a job to generate an array of parameter samples. Call Complete() on the JobHandle returned by this function to wait on the job generating the parameter samples.
Declaration
public abstract NativeArray<T> Samples(int sampleCount, out JobHandle jobHandle)
Parameters
Type | Name | Description |
---|---|---|
int | sampleCount | Number of parameter samples to generate |
JobHandle | jobHandle | The JobHandle returned from scheduling the sampling job |
Returns
Type | Description |
---|---|
NativeArray<T> | A NativeArray containing generated samples |