WorldAnchor.GetNativeSpatialAnchorPtr

public IntPtr GetNativeSpatialAnchorPtr();

Returns

IntPtr The native pointer to the Windows.Perception.Spatial.SpatialAnchor COM object.

Description 描述

Retrieve a native pointer to the Windows.Perception.Spatial.SpatialAnchor COM object. This function calls IUnknown::AddRef on the pointer before returning it. The pointer must be released by calling IUnknown::Release.