⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Anchor.TryGetPerceptionAnchor

bool TryGetPerceptionAnchor(IntPtr& spatialAnchor)

Tries to get the underlying perception spatial anchor as a COM pointer. Use this when you need the raw IntPtr for interop or custom marshalling.

   
IntPtr& spatialAnchor The raw COM pointer to the spatial anchor.
RETURNS: bool True if the pointer was successfully obtained, false otherwise.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!