🧵#Camera intrinsics
Hi, I think you need to request camera-access for that
You can add camera access as a required feature requiredFeatures: [“camera-access”] via the onBeforeXR callback in one of your components.
https://engine.needle.tools/docs/reference/api/xr-events.html#modify-xr-session-init-options
and in onBeforeRender(frame:XRFrame) use the xr frame to access the camera.
let viewerPose = xrFrame.getViewerPose(xrRefSpace);
https://github.com/immersive-web/raw-camera-access/blob/main/explainer.md#using-the-api
alright, I'll try that, thank you! Sorry, I will ask it here but is there a way to access other features of iOS arkit like the Object Scanning?
We'll likely support this in the future (not right now). What is your usecase?
for the camera intrinsic I will try to integrate multiset VPS for webAR(https://docs.multiset.ai/) and for the iOS object tracking is for markerless tracking