新增FishNet文档
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
description: >-
|
||||
The BandwidthDisplay component is a simple development GUI to show the
|
||||
bandwidth ingress and egress.
|
||||
---
|
||||
|
||||
# BandwidthDisplay
|
||||
|
||||
## Description
|
||||
|
||||
Using this component in combination with the [Statistics Manager](../managers/statisticsmanager.md) will show bandwidth being used by Fish-Networking.
|
||||
|
||||
<div align="left"><figure><img src="../../../.gitbook/assets/bandwidth-display-example.png" alt="Image showing the current bandwidth being used at the top right of a screen in a game."><figcaption><p>Example of the BandwidthDisplay being used</p></figcaption></figure></div>
|
||||
|
||||
## Settings
|
||||
|
||||
<div align="left"><figure><img src="../../../.gitbook/assets/bandwidth-display-component.png" alt=""><figcaption><p>Default settings</p></figcaption></figure></div>
|
||||
|
||||
### :gear: **Color**
|
||||
|
||||
> This is which color to display results as.
|
||||
|
||||
### :gear: **Placement**
|
||||
|
||||
> The **Placement** is in what part of the screen to display results.
|
||||
|
||||
### :gear: **Seconds Averaged**
|
||||
|
||||
> This is for the number of seconds used to gather data. Lower values will show more up to date usage per second while higher values provide a better over-all estimate.
|
||||
|
||||
### :gear: **Show Outgoing**
|
||||
|
||||
> When enabled, this will display the bandwidth used from data being sent. This can be changed at runtime with the [`SetShowOutgoing`](https://fish-networking.com/FishNet/api/api/FishNet.Component.Utility.BandwidthDisplay.html#FishNet_Component_Utility_BandwidthDisplay_SetShowOutgoing_System_Boolean_) method.
|
||||
|
||||
### :gear: **Show Incoming**
|
||||
|
||||
> When enabled, this will display the bandwidth used from data being received. This can be changed at runtime with the [`SetShowIncoming`](https://fish-networking.com/FishNet/api/api/FishNet.Component.Utility.BandwidthDisplay.html#FishNet_Component_Utility_BandwidthDisplay_SetShowIncoming_System_Boolean_) method.
|
||||
Reference in New Issue
Block a user