Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

VoiceChannel

One channel of a game’s voice chat: a set of listeners a speaker reaches. A listener hears a speaker once, at the highest volume any channel that admits the pair gives, and from the speaker’s side where any of those channels is a proximity channel.

Property Modifier Type Description
canReceive? readonly VoiceChatReceiveRule The channel’s own receive rule, run after the game’s.
canSend? readonly VoiceChatSendRule The channel’s own send rule, run after the game’s.
kind readonly VoiceChannelKind -
name readonly string Its key in defineVoiceChat’s channels; empty until then.
proximity? readonly VoiceProximityOptions How it places and fades a voice; left out, it plays flat, at full volume from no direction.