Does anyone know if Unity is planning to wrap the RGB (or LocatableCamera) in C# code that is accessible at 30fps? I’ve tried using PhotoCapture.TakePhotoAsync and WebCamTexture, but both of them drop the framerate to below 30fps. The most I’ve gotten is 20fps with WebCamTexture with an 896x504 image. I know it’s possible to get the RGB image at 30fps, because I’ve successfully ran Windows-universal-samples/Samples/CameraGetPreviewFrame at main · microsoft/Windows-universal-samples · GitHub on the HoloLens. However, in that code example, they’re sending the image to a windows UI element called CaptureElement and I’m not sure if we can access the image through that at 30fps.
I know Unity has a VideoCapture class but that only saves the video to a file and doesn’t let me access the raw pixel information for each frame.
Is Unity planning to write a wrapper to access the RGB video frames at 30fps?