Skip to main content
API Reference Niantic.Lightship.MagicLeap.Samples

CameraImageDisplay

↳ extends UnityEngine.MonoBehaviour
This component gets the camera image from the ARCameraManager as an XRCpuImage object...

Declaration

public class CameraImageDisplay : MonoBehaviour

Summary

This component gets the camera image from the ARCameraManager as an XRCpuImage object and renders it on-screen via the specified RawImage component.

As it's only intended for debug use, it has restrictions. It expects the image to be of RGBA32 format, and thus only works with on MagicLeap with Lightship Playback enabled or NIANTIC_ARDK_USE_FAST_LIGHTWEIGHT_PAM symbol NOT defined


ON THIS PAGE