Class ITriggerEventJobExtensions
A trigger event job extensions.
Inherited Members
Namespace: Unity.Physics
Syntax
public static class ITriggerEventJobExtensions
Methods
EarlyJobInit<T>()
Early job initialize.
Declaration
public static void EarlyJobInit<T>()
where T : struct, ITriggerEventsJobBase
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |
Schedule<T>(T, SimulationSingleton, JobHandle)
Default Schedule() implementation for ITriggerEventsJob.
Declaration
public static JobHandle Schedule<T>(this T jobData, SimulationSingleton simulationSingleton, JobHandle inputDeps)
where T : struct, ITriggerEventsJobBase
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. |