Skip to main content

Blueprint node

Category: XRLIVE_UTILS | CAMERA
Type: Async (latent node with multiple output pins)
Output pinFires when
On GrantedCamera access is already authorized, or the user tapped Allow
On DeniedThe user tapped Deny, or access is restricted by policy

Platform behaviour

PlatformBehaviour
MacShows the system permission dialog the first time. Subsequent calls return immediately from the cached status.
WindowsOn 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.