docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SnapshotMetrics

    Snapshot metrics singleton component.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)