class
Voice
public class Voice : Component Records and transmits voice/microphone input to other players.
Constructors
Voice() Properties
| Name | Type | Description |
|---|---|---|
Volume | Single | |
Mode | ActivateMode | |
PushToTalkInput | String | |
WorldspacePlayback | Boolean | |
Loopback | Boolean | |
LipSync | Boolean | |
Renderer | SkinnedModelRenderer | |
MorphScale | Single | |
MorphSmoothTime | Single | |
LastPlayed | RealTimeSince | How long has it been since this sound played? |
LaughterScore | Single | Laughter score for the current audio frame, between 0 and 1 |
VoiceMixer | MixerHandle | |
TargetMixer | Mixer | |
Distance | Single | |
Falloff | Curve | |
Visemes | IReadOnlyList<Single> | A list of 15 lipsync viseme weights. Requires LipSync to be enabled. |
IsRecording | Boolean | |
IsListening | Boolean | Returns true if the mic is listening. Even if it's listening, it might not be playing - because it will only record and transmit if it can hear sound. |
Amplitude | Single | Measure of audio loudness. |