Struct XRReferencePoint
Describes session relative data for a reference point.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
[Obsolete("XRReferencePoint has been deprecated. Use XRAnchor instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRAnchor", true)]
public struct XRReferencePoint : ITrackable, IEquatable<XRReferencePoint>
Constructors
Name | Description |
---|---|
XRReferencePoint(TrackableId, Pose, TrackingState, IntPtr) | Constructs the session-relative data for a reference point. This is typically provided by an implementation of the XRReferencePointSubsystem and not invoked directly. |
XRReferencePoint(TrackableId, Pose, TrackingState, IntPtr, Guid) | Constructs the session-relative data for a reference point. This is typically provided by an implementation of the XRReferencePointSubsystem and not invoked directly. |
Properties
Name | Description |
---|---|
defaultValue | Gets a default-initialized XRReferencePoint. This can be
different from the zero-initialized version (for example, the pose
is |
nativePtr | A native pointer associated with the reference point. The data pointed to by this pointer is implementation-specific. |
pose | Get the |
sessionId | The id of the session from which this reference point originated. |
trackableId | Get the TrackableId associated with this reference point. |
trackingState | Get the TrackingState of this reference point. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(XRReferencePoint) | Tests for equality. |
GetHashCode() | Generates a hash suitable for use with containers like |
Operators
Name | Description |
---|---|
operator ==(XRReferencePoint, XRReferencePoint) | Tests for equality. Same as Equals(XRReferencePoint). |
operator !=(XRReferencePoint, XRReferencePoint) | Tests for inequality. Same as |