By nrgarach
on Thu, 09/13/2012 - 00:33
When we try to view two framemarkers at a time from the camera frame, We see the 2 trackables, one on the each of the framemarkers respectively.
I want just one trackable to be seen when any two of the markers are being viewed from camera frame.
Foreg. If marker id = 0 and marker id= 1 are viewed from camera frame, I want just the trackable for the marker id=1 and not marker id=0 to be seen.
Can anyone please help with this ?
Thanks.
Display trackable for one Framemarker
You'll need to enforce this behavior in the marker's event handler. You can use the TrackableName or MarkerID ( cast to MarkerBehaviour ), to ensure that the rendering only occurs for 1 of the markers exclusively.
Display trackable for one Framemarker
I try to find number of markers available on camera frame using code as below :
for(int tIdx = 0; tIdx < noOfMarkers; tIdx++)
{