Class ARKitReferenceObjectEntry
Represents an ARKit-specific reference object for participation in an
XRReferenceObjectLibrary
.
Implements
Namespace: UnityEngine .XR.ARKit
Assembly: solution.dll
Syntax
public sealed class ARKitReferenceObjectEntry : XRReferenceObjectEntry, ISerializationCallbackReceiver
Remarks
The actual data used at runtime is packaged into the Xcode project
in an asset catalog called ARReferenceObjects.xcassets
. It should
exist on disk in your project as an .arobject
file.
See Scanning and Detecting 3D Objects
for instructions on how to generate these files.
Properties
Name | Description |
---|---|
reference |
(Read Only) The reference origin of the scanned object (in session space). |
Methods
Name | Description |
---|---|
Create(Native |
Creates a new ARKit |
On |
Invoked when a new XRReference |