Version: 2018.1

WorldAnchor.GetNativeSpatialAnchorPtr

Switch to Manual
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.