Struct FragmentationUtility.Parameters
Parameters for the FragmentationPipelineStage.
Implements
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: solution.dll
Syntax
public struct FragmentationUtility.Parameters : INetworkParameter
Fields
Name | Description |
---|---|
PayloadCapacity | Maximum size that can be fragmented by the FragmentationPipelineStage. Attempting to send a message larger than that will result in the send operation returning NetworkPacketOverflow. Maximum value is ~20MB for unreliable packets, and ~88KB for reliable ones. |
Methods
Name | Description |
---|---|
Validate() | Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings. |