You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.Fields.Add(newFieldDoc("AdditionalAvatarDataLock"," Strip AdditionalAvatarDatas (blendshapes, custom-behaviour params) from inbound avatar sync before relaying; muscle/position/rotation still sync. true|false. "));
187
187
t.Fields.Add(newFieldDoc("CameraMetadataDisallowMask"," Bitmask of camera photo-metadata categories disallowed for all clients (set bit = disallowed). 0 = everything allowed. byte, range 0-255; the category-to-bit mapping is defined client-side. "));
188
188
t.Fields.Add(newFieldDoc("CrashReportingEnabled"," Allow clients to send a one-shot report of each error/exception they hit to the server, stored under CrashReports/<uuid>.jsonl with their UUID and display name. true|false; default true. Set false to globally disable reporting (clients are told to stop sending). "," ===== Diagnostics ===== "));
189
+
t.Fields.Add(newFieldDoc("MaxMicrophoneRangeMeters"," Maximum microphone (voice transmit) range, in metres, a client may set. Clients clamp their Microphone Range slider and effective range to this ceiling; can also be changed live from the admin panel. float; default 25. "," ===== Audio / voice range ===== "));
190
+
t.Fields.Add(newFieldDoc("MaxHearingRangeMeters"," Maximum hearing (audio receive) range, in metres, a client may set. Clients clamp their Hearing Range slider and effective range to this ceiling. float; default 25. "));
SendBackMessage(peer,$"Audio range limits set: microphone {NetworkServer.Configuration.MaxMicrophoneRangeMeters} m, hearing {NetworkServer.Configuration.MaxHearingRangeMeters} m.");
Copy file name to clipboardExpand all lines: Basis/Packages/com.basis.framework/BasisUI/Menus/Main Menu Providers/SettingsProviderParts/SettingsProviderAdminTab.cs
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,16 @@ public static PanelTabPage AdminTab(PanelTabGroup tabGroup)
maxMicrophoneRangeSlider.Descriptor.SetDescription("Maximum microphone (voice transmit) range in metres any client may set. Each client's Microphone Range slider and effective range is clamped to this.");
maxHearingRangeSlider.Descriptor.SetDescription("Maximum hearing (audio receive) range in metres any client may set. Each client's Hearing Range slider and effective range is clamped to this.");
0 commit comments