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.

WorldAnchorTransferBatch.AddWorldAnchor

public bool AddWorldAnchor(string id, VR.WSA.WorldAnchor anchor);

Parameters

id The identifier associated with this anchor in the batch. This must be unique per batch.
anchor The anchor to add to the batch.

Returns

bool Whether or not the anchor was added successfully.

Description

Adds a WorldAnchor to the batch with the specified identifier.