Method ScheduleBroadphaseBVHBuild
ScheduleBroadphaseBVHBuild(ref PhysicsWorld, ReadOnly, in JobHandle, float, bool, float3)
Schedule jobs to build broadphase BoundingVolumeHierarchy of the specified PhysicsWorld.
Declaration
public static JobHandle ScheduleBroadphaseBVHBuild(ref PhysicsWorld world, NativeReference<int>.ReadOnly haveStaticBodiesChanged, in JobHandle inputDep, float timeStep, bool isBroadphaseBuildMultiThreaded, float3 gravity)
Parameters
Type | Name | Description |
---|---|---|
PhysicsWorld | world | [in,out] The world. |
NativeReference<int>.ReadOnly | haveStaticBodiesChanged | The have static bodies changed. |
JobHandle | inputDep | The input dependency. |
float | timeStep | The time step. |
bool | isBroadphaseBuildMultiThreaded | True if is broadphase build multi threaded, false if not. |
float3 | gravity | The gravity. |
Returns
Type | Description |
---|---|
JobHandle | A JobHandle. |