SessionCanvas
Module: Inworld.RPM.
Namespace: Inworld.Sample.RPM.
inherited from: DemoCanvas
This is the canvas class used in the sample scene Connection
Inspector Variables
Variable | Description |
---|
ColorGraph | The Gradient used displaying ping status. |
Indicator | The logo used is displaying ping canvas. |
PlayPause | The toggle for start or disconnect sessions. |
SwitchMic | The toggle for mute/unmute the microphone. |
Speaker | The toggle for mute/unmute the speaker. |
PingDuration | the current latency of the ping. |
Interaction | The InworldAudioInteraction used in the canvas. |
Properties
Variables | Description |
---|
EnableCtrl | Get if this canvas allows user to control the audio options. |
API
Function | Description | Parameters |
---|
PlayPause | Pause/Continue the current live session. | |
MicrophoneControl | Mute/Unmute the microphone. | |
SwitchVolume | Mute/Unmute the speaker. | |