ARVRAnchor.anchorId

The anchor's ID. You can set this before the anchor itself exists. The first anchor gets an ID of 1, the second an ID of 2, etc. When anchors get removed, the engine can then assign the corresponding ID to new anchors. The most common situation where anchors "disappear" is when the AR server identifies that two anchors represent different parts of the same plane and merges them.

  1. long anchorId [@property getter]
  2. long anchorId [@property setter]
    struct ARVRAnchor
    @nogc nothrow @property
    void
    anchorId
    (
    long v
    )

Meta