XRAnchorExtensions.GetOpenXRHandle(XRAnchor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.