Partilhar via


AnchorConverter.ToOpenXRHandle(IntPtr) Method

Definition

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.

Applies to