Blueprint node
Category: XRLIVE_UTILS | CAMERA
Type: Async (latent node with multiple output pins)
| Output pin | Fires when |
|---|
On Granted | Camera access is already authorized, or the user tapped Allow |
On Denied | The user tapped Deny, or access is restricted by policy |
| Platform | Behaviour |
|---|
| Mac | Shows the system permission dialog the first time. Subsequent calls return immediately from the cached status. |
| Windows | On Granted fires immediately — no dialog shown. |
Example
Event BeginPlay
↓
Request Camera Permission
On Granted → Enumerate Video Capture Devices → populate dropdown
On Denied → Show xRLive Alert (Warning, "Camera access denied", "...")
On Mac, always call this node before enumerating capture devices. Calling Enumerate Video Capture Devices without permission granted results in an empty list, and the camera feed will not render even after the user grants access later.