LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

WorldAnchor.SetNativeSpatialAnchorPtr

public void SetNativeSpatialAnchorPtr(IntPtr spatialAnchorPtr);

Parameters

spatialAnchorPtrA live Windows.Perception.Spatial.SpatialAnchor COM pointer.

Description

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