s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
VoiceChat
chevron_left
Classes
class
VoiceChat
Static Properties
data_object
Enabled
data_object
ShowSpeakers
Static Methods
functions
GetLevel
functions
IsTalking
VoiceChat
Platform-level voice chat. Works without any setup: everyone in a game can hear each other. Once the scene has Sandbox.Voice components, only players talking through one are heard, and their Voice decides how it's captured, routed and played back.
class
Sandbox.Platform
.
static
sealed
abstract
Sandbox.Engine
data_object
Static Properties
2
Enabled
bool
ShowSpeakers
bool
functions
Static Methods
2
GetLevel
(
connection
)
float
How loud this connection's voice is right now, in decibels, 0 being full scale. This is the level they sent, before volume or distance. -96 when they're not talking.
IsTalking
(
connection
)
bool
Is this connection's voice playing right now? Works whether or not the game uses Sandbox.Voice components.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.