• Creates an instance of 3D object with GLTF model. Build it with createInterfaceRow, createInterfaceColumn, createInterfaceText and createInterfaceImage.

    Parameters

    • position: Vector3

      Position of object in augmented world.

    • src: string

      URL of GLTF resources.

    • scale: number

      Scale of loaded object.

    • Optional onSelect: (() => any)

      Function to call when object is tapped.

        • (): any
        • Returns any

    Returns GltfObject

    Created AR interface object.