Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

WorldAnchor.SetNativeSpatialAnchorPtr

public void SetNativeSpatialAnchorPtr(IntPtr spatialAnchorPtr);

Parameters

spatialAnchorPtr A live Windows.Perception.Spatial.SpatialAnchor COM pointer.

Description

Assigns the Windows.Perception.Spatial.SpatialAnchor COM pointer maintained by this WorldAnchor.