Method ScheduleFindOverlapsJobs
ScheduleFindOverlapsJobs(out NativeStream, out NativeStream, JobHandle, bool)
Schedule a set of jobs which will write all overlapping body pairs to the given steam, where at least one of the bodies is dynamic. The results are unsorted.
Declaration
public SimulationJobHandles ScheduleFindOverlapsJobs(out NativeStream dynamicVsDynamicPairsStream, out NativeStream staticVsDynamicPairsStream, JobHandle inputDeps, bool multiThreaded = true)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeStream | dynamicVsDynamicPairsStream | [out] The dynamic vs dynamic pairs stream. |
| NativeStream | staticVsDynamicPairsStream | [out] The static vs dynamic pairs stream. |
| JobHandle | inputDeps | The input deps. |
| bool | multiThreaded | (Optional) True if multi threaded. |
Returns
| Type | Description |
|---|---|
| SimulationJobHandles | The SimulationJobHandles. |