using UnityEngine;
namespace UnityEditor.XR.ARKit
{
///
/// Represents an ARKit ARObject archive. This is the contents of a file with extension .arobject.
/// See Scanning and Detecting 3D Objects
/// for instructions on how to generate these files.
///
///
///
public struct ARObject
{
///
/// Constructs an .
///
/// The associated with this .
/// A preview image associated with the ARObject.
public ARObject(ARObjectInfo info, Texture2D preview)
{
this.info = info;
this.preview = preview;
}
///
/// The associated with this .
///
public ARObjectInfo info { get; }
///
/// A preview image associated with the ARObject.
///
public Texture2D preview { get; }
}
}