Struct MostRecentFixedTime
Singleton dynamic buffer that record the last Time.ElapsedTime
and Time.DeltaTime
of the most recent tick for each stepped Physics World. The PhysicsWorldIndex
value is used as index to store and retrieve the timing data. Because of that, the dynamic
buffer size is always equals to the largest PhysicsWorldIndex value set by the application.
Inherited Members
Namespace: Unity.Physics.GraphicsIntegration
Syntax
[InternalBufferCapacity(256)]
public struct MostRecentFixedTime : IBufferElementData
Fields
DeltaTime
The delta time.
Declaration
public double DeltaTime
Field Value
Type | Description |
---|---|
Double |
ElapsedTime
The elapsed time.
Declaration
public double ElapsedTime
Field Value
Type | Description |
---|---|
Double |