docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ARKitReferenceObjectEntry

    Represents an ARKit-specific reference object for participation in an XRReferenceObjectLibrary.

    Inheritance
    object
    XRReferenceObjectEntry
    ARKitReferenceObjectEntry
    Implements
    ISerializationCallbackReceiver
    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
    referenceOrigin

    (Read Only) The reference origin of the scanned object (in session space).

    Methods

    Name Description
    Create(NativeSlice<byte>)

    Creates a new ARKitReferenceObjectEntry from a serialized ARReferenceObject.

    OnAddToLibrary(XRReferenceObjectLibrary, XRReferenceObject)

    Invoked when a new XRReferenceObject is added to an XRReferenceObjectLibrary.

    See Also

    XRReferenceObject
    XRReferenceObjectLibrary
    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023