AR Reference Image
The image file for an ARReferenceImage
.
Extension
.arreferenceimage
Folder Contents
A .heif
(High Efficiency Image Format), .png
, .jpg
, or .tiff
file.
Contents.json File (Required)
Metadata and attributes for the image (Table 7-1.)
Key |
Type |
Description |
---|---|---|
|
Dictionary |
Metadata for the author and format version of the asset catalog. |
|
String |
Use your bundle ID. |
|
Number |
The format version of the asset catalog. Use |
|
Array of one dictionary |
The image file for the |
|
String |
The |
|
Slot component |
The device type for the image. For the values, see idiom in Image Set Type. |
|
Dictionary |
Properties for the image. |
|
String |
The unit type of the |
|
Number |
The physical width of the image. |
Values for Enumerated Tags
unit
An optional unit type used to convert the value of the width
property to meters. Valid unit types are:
meters
centimeters
feet
inches
yards
A value of meters
is used if the tag is not specified.
Sample Contents.json File
{
"images" : [
{
"idiom" : "universal",
"filename" : "llama farm.heif"
}
],
"properties" : {
"width" : 33,
"units" : "inches"
},
"info" : {
"author" : "com.developerName",
"version" : 1
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09