ARVRAnchor

    Category: Core

    Anchor point in AR Space.

    Properties

    Description

    This node is mapped to one of the anchors through its unique id. When you receive a signal that a new anchor is available, you should add this node to your scene for that anchor. You can predefine nodes and set the id and the nodes will simply remain on 0,0,0 until a plane is recognized.

    Keep in mind that, as long as plane detection is enabled, the size, placing and orientation of an anchor will be updated as the detection logic learns more about the real world out there especially if only part of the surface is in view.

    • anchor_id

    Method Descriptions

    Returns the name given to this anchor.


    • bool get_is_active ( ) const

    Returns if the anchor is being tracked and if no anchor with this id is currently known.


    • get_plane ( ) const

    Returns the estimated size of the plane that was detected. Say when the anchor relates to a table in the real world, this is the estimated size of the surface of that table.