Show Marker Without Scanning

S’abonner

The ArActivity also provides a method to display a marker without scanning it: showArSceneWithoutTracking(int markerId). Obviously you need the marker id to call this method; it can retrieved from BearCallback.onMarkerRecognized when user successfully scanned a marker.

The behavior is the same as when a marker is recognized from scan:

  • the marker and its assets will be displayed in the augmented reality view
  • the BearCallback.onMarkerRecognized callback will be called if no issue while retrieving marker from backend, else BearCallback.onError callback will be called with isMarkerFromScan equals to false.

See example.

Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0

Commentaires

0 commentaire

Vous devez vous connecter pour laisser un commentaire.