Class Integrator
Inheritance
System.Object
Integrator
Syntax
public static class Integrator
Methods
IntegrateAngularVelocity(float3, Single)
Declaration
public static quaternion IntegrateAngularVelocity(float3 angularVelocity, float timestep)
Parameters
| Type |
Name |
Description |
| float3 |
angularVelocity |
|
| System.Single |
timestep |
|
Returns
| Type |
Description |
| quaternion |
|
IntegrateOrientation(ref quaternion, float3, Single)
Declaration
public static void IntegrateOrientation(ref quaternion orientation, float3 angularVelocity, float timestep)
Parameters
| Type |
Name |
Description |
| quaternion |
orientation |
|
| float3 |
angularVelocity |
|
| System.Single |
timestep |
|
ScheduleIntegrateJobs(ref DynamicsWorld, Single, float3, JobHandle)
Declaration
public static JobHandle ScheduleIntegrateJobs(ref DynamicsWorld world, float timeStep, float3 gravity, JobHandle inputDeps)
Parameters
| Type |
Name |
Description |
| DynamicsWorld |
world |
|
| System.Single |
timeStep |
|
| float3 |
gravity |
|
| JobHandle |
inputDeps |
|
Returns
| Type |
Description |
| JobHandle |
|