docs.unity3d.com
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public struct RTTInfo

    Fields

    LastRtt

    RTT of the last packet acknowledged.

    Declaration
    public int LastRtt
    Field Value
    Type Description
    Int32

    RTT in milliseconds.

    ResendTimeout

    Timeout used to resend unacknowledged packets.

    Declaration
    public int ResendTimeout
    Field Value
    Type Description
    Int32

    Resend timeout in milliseconds.

    SmoothedRtt

    Smoothed RTT of the last packets acknowledged.

    Declaration
    public float SmoothedRtt
    Field Value
    Type Description
    Single

    Smoothed RTT in milliseconds.

    SmoothedVariance

    Variance of the smoothed RTT.

    Declaration
    public float SmoothedVariance
    Field Value
    Type Description
    Single

    Smoothed RTT variance in milliseconds.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023