Class IImpulseEventJobExtensions
An extension class for scheduling ImpulseEventsJob.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public static class IImpulseEventJobExtensionsMethods
EarlyJobInit<T>()
Early job initialize.
Declaration
public static void EarlyJobInit<T>() where T : struct, IImpulseEventsJobBaseType Parameters
| Name | Description | 
|---|---|
| T | Generic type parameter. | 
Schedule<T>(T, SimulationSingleton, JobHandle)
Default Schedule() implementation for IImpulseEventJob.
Declaration
public static JobHandle Schedule<T>(this T jobData, SimulationSingleton simulationSingleton, JobHandle inputDeps) where T : struct, IImpulseEventsJobBaseParameters
| 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. |