Start a new topic

For multi markers, stop Scan when content is snapped on screen

For multi markers, stop Scan when content is snapped on screen


For multi markers app, How can I stop scan/show second marker's content when the first is still there on screen (snapped) ?

I use snapping on screen feature, so after lost marker and snap its content on screen, if device see another marker, its content will be shown OVER the previuos content of last marker, I need to stop that.

I tried: trackable2DObject.isVisible(), it's always true.

Also, I tried : World.trackableVisible, but also didn't do what i want.

So, How solve that ?

Thank you,

Heba

Please have a look at the snapToScreen.enabled flag of AR.Trackable2dObject. Ensure is is set to true only only for the one you want to show in the snapContainer.

Best regards,
Andreas

Thank you Andreas, actually i used it before and worked.
Login or Signup to post a comment