docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BaselibNetworkParameterExtensions

    Extensions for BaselibNetworkParameter.

    Inheritance
    object
    BaselibNetworkParameterExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Networking.Transport
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public static class BaselibNetworkParameterExtensions

    Methods

    GetBaselibNetworkInterfaceParameters(ref NetworkSettings)

    Gets the BaselibNetworkParameter

    Declaration
    public static BaselibNetworkParameter GetBaselibNetworkInterfaceParameters(this ref NetworkSettings settings)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to get parameters from.

    Returns
    Type Description
    BaselibNetworkParameter

    Returns the BaselibNetworkParameter values for the NetworkSettings

    WithBaselibNetworkInterfaceParameters(ref NetworkSettings, int, int, uint)

    Sets the BaselibNetworkParameter values for the NetworkSettings

    Declaration
    public static ref NetworkSettings WithBaselibNetworkInterfaceParameters(this ref NetworkSettings settings, int receiveQueueCapacity = 64, int sendQueueCapacity = 64, uint maximumPayloadSize = 2000)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to modify.

    int receiveQueueCapacity

    receiveQueueCapacity

    int sendQueueCapacity

    sendQueueCapacity

    uint maximumPayloadSize

    maximumPayloadSize

    Returns
    Type Description
    NetworkSettings

    Modified NetworkSettings.

    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)