mercredi 29 janvier 2020

Aframe Multiple Pattern Ratio

Hello I want To Use Multiple Patterns With Different Ratio . Can Any One Help Me to Sort Out This . I Can Use Use Multiple Markers With Different Ratio But I Am Not Able To Use Multiple Markers With Dirrerent Ration .

Like Pattern One (Hiro) - HIRO ( Which has ratio of 0.50 by default),

Pattern Two (Custom QR Code) With Ratio 0.75 - PATTERN,

Tag <a-scene arjs="patternRatio: 0.75">
<a-marker type="pattern" preset="hiro" vidhandler="target: #vid1">
--------
<a-marker
        type="pattern"
        url="https://cdn.glitch.com/e85b316e-eed9-4e96-814e-d12630bc00df%2Fpattern-qr-code.patt?v=1577440081157"
        vidhandler="target: #vid2"
      >

Glitch : Multi Pattern Code




Aucun commentaire:

Enregistrer un commentaire