AnchorConverter.ToOpenXRHandle(IntPtr) 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 OpenXR handle of the given nativePtr from ARAnchor or XRAnchor object if available, or return 0.
public static ulong ToOpenXRHandle (IntPtr nativePtr);
static member ToOpenXRHandle : nativeint -> uint64
Public Shared Function ToOpenXRHandle (nativePtr As IntPtr) As ULong
Parameters
- nativePtr
-
IntPtr
nativeint
The nativePtr obtained from either XRAnchor.nativePtr or ARAnchor.nativePtr.
Returns
XrAnchorMSFT handle that represents the underlying OpenXR anchor of given nativePtr, or 0 when such associated handle cannot be found.