Method ScheduleBuildBroadphaseJobs
ScheduleBuildBroadphaseJobs(ref PhysicsWorld, float, float3, ReadOnly, JobHandle, bool)
Schedule a set of jobs to build the broadphase based on the given world.
Declaration
public JobHandle ScheduleBuildBroadphaseJobs(ref PhysicsWorld world, float timeStep, float3 gravity, NativeReference<int>.ReadOnly buildStaticTree, JobHandle inputDeps, bool multiThreaded = true)
Parameters
Type | Name | Description |
---|---|---|
PhysicsWorld | world | [in,out] The world. |
float | timeStep | The time step. |
float3 | gravity | The gravity. |
NativeReference<int>.ReadOnly | buildStaticTree | The build static tree. |
JobHandle | inputDeps | The input deps. |
bool | multiThreaded | (Optional) True if multi threaded. |
Returns
Type | Description |
---|---|
JobHandle | A JobHandle. |