Function createInterfaceObject

  • Creates an instance of AR user interface. Build it with createInterfaceRow, createInterfaceColumn, createInterfaceText and createInterfaceImage.

    Parameters

    • position: Vector3

      Position of object in augmented world.

    • rootComponent: UIBasicItem

      Root UI component containing other components. Can be row, column, image or text.

    • Optional onSelect: (() => any)

      Function to call when object is tapped.

        • (): any
        • Returns any

    Returns UIObject

    Created AR interface object.