Skip to main content

SessionCanvas

Module: Inworld.RPM. Namespace: Inworld.Sample.RPM. inherited from: DemoCanvas

This is the canvas class used in the sample scene Connection

Inspector Variables

VariableDescription
ColorGraphThe Gradient used displaying ping status.
IndicatorThe logo used is displaying ping canvas.
PlayPauseThe toggle for start or disconnect sessions.
SwitchMicThe toggle for mute/unmute the microphone.
SpeakerThe toggle for mute/unmute the speaker.
PingDurationthe current latency of the ping.
InteractionThe InworldAudioInteraction used in the canvas.

Properties

VariablesDescription
EnableCtrlGet if this canvas allows user to control the audio options.

API

FunctionDescriptionParameters
PlayPausePause/Continue the current live session.
MicrophoneControlMute/Unmute the microphone.
SwitchVolumeMute/Unmute the speaker.