Struct ARObject
Represents an ARKit ARObject archive, often a file with a .arobject
extension.
See Scanning and Detecting 3D Objects
for instructions on how to generate these files.
Namespace: UnityEditor.XR.ARKit
Syntax
public struct ARObject
Constructors
ARObject(ARObjectInfo, Texture2D)
Constructs an ARObject.
Declaration
public ARObject(ARObjectInfo info, Texture2D preview)
Parameters
Type | Name | Description |
---|---|---|
ARObjectInfo | info | The ARObjectInfo associated with this ARObject. |
Texture2D | preview | A preview image associated with the |
Properties
info
The ARObjectInfo associated with this ARObject.
Declaration
public ARObjectInfo info { get; }
Property Value
Type | Description |
---|---|
ARObjectInfo |
preview
A preview image associated with the ARObject
.
Declaration
public Texture2D preview { get; }
Property Value
Type | Description |
---|---|
Texture2D |