Class IContactsJobExtensions
The contacts job extensions.
Inherited Members
Namespace: Unity.Physics
Syntax
public static class IContactsJobExtensions
Methods
EarlyJobInit<T>()
Early job initialize.
Declaration
public static void EarlyJobInit<T>()
where T : struct, IContactsJobBase
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |
Schedule<T>(T, SimulationSingleton, ref PhysicsWorld, JobHandle)
Default Schedule() implementation for IContactsJob.
Declaration
public static JobHandle Schedule<T>(this T jobData, SimulationSingleton simulationSingleton, ref PhysicsWorld world, JobHandle inputDeps)
where T : struct, IContactsJobBase
Parameters
Type | Name | Description |
---|---|---|
T | jobData | The jobData to act on. |
SimulationSingleton | simulationSingleton | The simulation singleton. |
PhysicsWorld | world | [in,out] The world. |
JobHandle | inputDeps | The input deps. |
Returns
Type | Description |
---|---|
JobHandle | A JobHandle. |
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |