Camera
This page is a supplement to the AR Foundation Camera manual. The following sections only contain information about APIs where ARCore exhibits unique platform-specific behavior.
Tip
When developing an AR app, refer to both the AR Foundation documentation as well as the required packages for each platform you support.
Optional feature support
ARCore implements the following optional features of AR Foundation's XRCameraSubsystem:
Feature | Descriptor Property | Supported |
---|---|---|
Brightness | supportsAverageBrightness | Yes |
Color temperature | supportsAverageColorTemperature | |
Color correction | supportsColorCorrection | Yes |
Display matrix | supportsDisplayMatrix | Yes |
Projection matrix | supportsProjectionMatrix | Yes |
Timestamp | supportsTimestamp | Yes |
Camera configuration | supportsCameraConfigurations | Yes |
Camera image | supportsCameraImage | Yes |
Average intensity in lumens | supportsAverageIntensityInLumens | |
Focus modes | supportsFocusModes | Yes |
Face tracking ambient intensity light estimation | supportsFaceTrackingAmbientIntensityLightEstimation | Yes |
Face tracking HDR light estimation | supportsFaceTrackingHDRLightEstimation | |
World tracking ambient intensity light estimation | supportsWorldTrackingAmbientIntensityLightEstimation | Yes |
World tracking HDR light estimation | supportsWorldTrackingHDRLightEstimation | Yes |
Camera grain | supportsCameraGrain | |
Image stabilization | supportsImageStabilization | |
Exif data | supportsExifData | Yes |
Note
Refer to AR Foundation Camera platform support for more information on the optional features of the camera subsystem.
Camera configuration
XRCameraConfiguration contains an IntPtr
field nativeConfigurationHandle
, which is a platform-specific handle. For ARCore, this handle is the pointer to the ArCameraConfiguration
. The native object is managed by Unity. Do not manually destroy it.
EXIF data
This package implements AR Foundation's EXIF data API using ARCore's ArImageMetadata. Refer to the following table to understand which tags ARCore supports:
EXIF tag | Supported |
---|---|
ApertureValue | Yes |
BrightnessValue | |
ColorSpace | |
ExposureBiasValue | |
ExposureTime | Yes |
FNumber | Yes |
Flash | Yes |
FocalLength | Yes |
PhotographicSensitivity | Yes |
MeteringMode | |
ShutterSpeedValue | Yes |