Use the device's camera to capture reality

  • Platform-specific guides are available for configuring and using the AR camera on Android (Kotlin/Java), Android NDK (C), Unity (AR Foundation), and Unreal Engine.

  • AR apps utilize device cameras and sensors to interpret the real world.

  • You can configure the AR camera, use image metadata, buffer frames, and share camera access to optimize your AR app's performance.

Platform-specific guides

The user's device has cameras (usually both front and back) and various sensors, such as an accelerometer, that provide data to your AR app for interpreting the real world. The camera itself may have a depth sensor and be able to determine the range, dimensions, and other useful data about the targets it detects.

For your AR app, you configure the camera for optimal performance. You can also use camera image metadata, frame buffering, and shared camera access to tune performance. The guides above describe some of the AR camera capabilities for each platform.