Virtual buttons are defined for a given ImageTarget. So you will need to change the ImageTarget by adding its dataset resources to the assets folder, and then loading and activating this.
See Java_com_qualcomm_QCARSamples_VirtualButtons_VirtualButtons_loadTrackerData @ ln 138 in VirtualButtons.cpp for an example.
Also the VirtualButtons will need to be defined within the XML files of the dataset that you are using. See the Virtual Buttons section of the Developer Guide under Trackables for documentation on how to implement Virtual Buttons on an ImageTarget - https://ar.qualcomm.at/developer_guide
Virtual buttons are defined for a given ImageTarget. So you will need to change the ImageTarget by adding its dataset resources to the assets folder, and then loading and activating this.
See Java_com_qualcomm_QCARSamples_VirtualButtons_VirtualButtons_loadTrackerData @ ln 138 in VirtualButtons.cpp for an example.
Also the VirtualButtons will need to be defined within the XML files of the dataset that you are using. See the Virtual Buttons section of the Developer Guide under Trackables for documentation on how to implement Virtual Buttons on an ImageTarget - https://ar.qualcomm.at/developer_guide