Class ARReferencePoint | AR Foundation | 2.2.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class ARReferencePoint

    Represents a Reference Point tracked by an XR device.

    Inheritance
    Object
    ARTrackable<XRReferencePoint, ARReferencePoint>
    ARReferencePoint
    Inherited Members
    ARTrackable<XRReferencePoint, ARReferencePoint>.destroyOnRemoval
    ARTrackable<XRReferencePoint, ARReferencePoint>.trackableId
    ARTrackable<XRReferencePoint, ARReferencePoint>.trackingState
    ARTrackable<XRReferencePoint, ARReferencePoint>.pending
    ARTrackable<XRReferencePoint, ARReferencePoint>.sessionRelativeData
    ARTrackable<XRReferencePoint, ARReferencePoint>.OnAfterSetSessionRelativeData()
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public sealed class ARReferencePoint : ARTrackable<XRReferencePoint, ARReferencePoint>
    Remarks

    A reference point is a pose in the physical environment that is tracked by an XR device. As the device refines its understanding of the environment, reference points will be updated, helping you to keep virtual content connected to a real-world position and orientation.

    Properties

    nativePtr

    Get the native pointer associated with this ARReferencePoint.

    Declaration
    public IntPtr nativePtr { get; }
    Property Value
    Type Description
    IntPtr
    Remarks

    The data pointed to by this pointer is implementation defined. While its lifetime is also implementation defined, it should be valid until at least the next ARSession update.

    sessionId

    Get the session identifier from which this reference point originated.

    Declaration
    public Guid sessionId { get; }
    Property Value
    Type Description
    Guid
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023