Struct SnapshotMetrics
Snapshot metrics singleton component.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct SnapshotMetrics : IComponentData, IQueryTypeParameter
Fields
DestroyInstanceCount
Despawn count.
Declaration
public uint DestroyInstanceCount
Field Value
Type | Description |
---|---|
uint |
DestroySizeInBits
Size of the despawn packet.
Declaration
public uint DestroySizeInBits
Field Value
Type | Description |
---|---|
uint |
SnapshotTick
The server tick when the snapshot metrics where collected.
Declaration
public uint SnapshotTick
Field Value
Type | Description |
---|---|
uint |
TotalGhostCount
Total count of ghosts inside the snapshot packet.
Declaration
public uint TotalGhostCount
Field Value
Type | Description |
---|---|
uint |
TotalSizeInBits
Total size of the snapshot packet.
Declaration
public uint TotalSizeInBits
Field Value
Type | Description |
---|---|
uint |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter