Class ICollisionEventJobExtensions
A collision event job extensions.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public static class ICollisionEventJobExtensions
Methods
EarlyJobInit<T>()
Early job initialize.
Declaration
public static void EarlyJobInit<T>() where T : struct, ICollisionEventsJobBase
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |
Schedule<T>(T, SimulationSingleton, JobHandle)
Default Schedule() implementation for ICollisionEventsJob.
Declaration
public static JobHandle Schedule<T>(this T jobData, SimulationSingleton simulationSingleton, JobHandle inputDeps) where T : struct, ICollisionEventsJobBase
Parameters
Type | Name | Description |
---|---|---|
T | jobData | The jobData to act on. |
SimulationSingleton | simulationSingleton | The simulation singleton. |
JobHandle | inputDeps | The input deps. |
Returns
Type | Description |
---|---|
JobHandle | A JobHandle. |
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |