XRAnchorExtensions.GetOpenXRHandle(XRAnchor) Method

Definition

Get the native OpenXR handle of the given XRAnchor object if available, or return 0.

public static ulong GetOpenXRHandle (this UnityEngine.XR.ARSubsystems.XRAnchor anchor);
static member GetOpenXRHandle : UnityEngine.XR.ARSubsystems.XRAnchor -> uint64
<Extension()>
Public Function GetOpenXRHandle (anchor As XRAnchor) As ULong

Parameters

anchor
UnityEngine.XR.ARSubsystems.XRAnchor

A valid UnityEngine.XR.ARSubsystems.XRAnchor object.

Returns

XrAnchorMSFT handle that represents the underlying OpenXR anchor, or 0 when such associated handle cannot be found.

Applies to