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

Parameters

idThe identifier associated with this anchor in the batch. This must be unique per batch.
anchorThe 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.