docs.unity3d.com
    Show / Hide Table of Contents

    Class FragmentationStageParameterExtensions

    Extensions for FragmentationUtility.Parameters.

    Inheritance
    Object
    FragmentationStageParameterExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public static class FragmentationStageParameterExtensions

    Methods

    GetFragmentationStageParameters(ref NetworkSettings)

    Gets the FragmentationUtility.Parameters

    Declaration
    public static FragmentationUtility.Parameters GetFragmentationStageParameters(this ref NetworkSettings settings)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to get parameters from.

    Returns
    Type Description
    FragmentationUtility.Parameters

    Returns the FragmentationUtility.Parameters values for the NetworkSettings

    WithFragmentationStageParameters(ref NetworkSettings, Int32)

    Sets the FragmentationUtility.Parameters values for the NetworkSettings

    Declaration
    public static ref NetworkSettings WithFragmentationStageParameters(this ref NetworkSettings settings, int payloadCapacity = 4096)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to modify.

    Int32 payloadCapacity PayloadCapacity
    Returns
    Type Description
    NetworkSettings

    Modified NetworkSettings.

    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