docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ReliableUtility.RTTInfo

    RTT (round-trip time) information tracked internally by the reliable pipeline stage. Can be read from the ReliableUtility.SharedContext, which itself can be obtained through the GetPipelineBuffers(NetworkPipeline, NetworkPipelineStageId, NetworkConnection, out NativeArray<byte>, out NativeArray<byte>, out NativeArray<byte>) method.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Networking.Transport.Utilities
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public struct ReliableUtility.RTTInfo

    Fields

    LastRtt

    RTT of the last packet acknowledged.

    Declaration
    public int LastRtt
    Field Value
    Type Description
    int

    RTT in milliseconds.

    ResendTimeout

    Timeout used to resend unacknowledged packets.

    Declaration
    public int ResendTimeout
    Field Value
    Type Description
    int

    Resend timeout in milliseconds.

    SmoothedRtt

    Smoothed RTT of the last packets acknowledged.

    Declaration
    public float SmoothedRtt
    Field Value
    Type Description
    float

    Smoothed RTT in milliseconds.

    SmoothedVariance

    Variance of the smoothed RTT.

    Declaration
    public float SmoothedVariance
    Field Value
    Type Description
    float

    Smoothed RTT variance in milliseconds.

    In This Article
    Back to top
    Copyright © 2024 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)