Struct NetworkMetrics
Singleton component for Network and Time Related Metrics.
Assembly: Unity.NetCode.dll
Syntax
public struct NetworkMetrics : IComponentData, IQueryTypeParameter
Fields
CommandAge
The age of the command stream
Declaration
Field Value
InterpolationOffset
Declaration
public float InterpolationOffset
Field Value
InterpolationScale
Declaration
public float InterpolationScale
Field Value
Jitter
Declaration
Field Value
Rtt
Estimated round-trip time.
Declaration
Field Value
SampleFraction
Only meaningful on the client that run at variable step rate. On the server is always 1.0. Always in range is (0.0 and 1.0].
Declaration
public float SampleFraction
Field Value
SnapshotAgeMax
Declaration
public float SnapshotAgeMax
Field Value
SnapshotAgeMin
Declaration
public float SnapshotAgeMin
Field Value
TimeScale
The average value for Time Scale
Declaration
Field Value
Implements