vcam.toggle
Starts the virtual camera when it's off, and stops it when it's on.
JSON-RPC 2.0outputs.control
Parameters
None.
Result
- activebooleanWhether it's on now.
Events
Subscribers to events get vcam.state, output.changed.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "vcam.toggle"}lightair call vcam.toggleconst result = lightair.call("vcam.toggle", {});