Class ARReferencePoint
Represents a Reference Point (aka anchor) tracked by an AR device.
Inheritance
System.Object
ARReferencePoint
Namespace: UnityEngine.XR.ARFoundation
Syntax
public sealed class ARReferencePoint : MonoBehaviour
Properties
lastUpdatedFrame
The last frame on which this reference point was updated.
Declaration
public int lastUpdatedFrame { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
sessionRelativeData
The raw data associated with the reference point.
Declaration
public ReferencePoint sessionRelativeData { get; }
Property Value
Type | Description |
---|---|
ReferencePoint |
Events
updated
Invoked whenever this reference point is updated.
Declaration
public event Action<ARReferencePoint> updated
Event Type
Type | Description |
---|---|
Action<ARReferencePoint> |