-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event emitted when marker is recognized? #217
Comments
Does this still hold true? I'm seeing becameVisible and makerVisible....which one? |
I see mentions of both in search, but no code that would emit them and no documentation about it. If someone has tested and they're working, that would be great. |
@donmccurdy actually there is a commit branch by @NikolayMihaylov that I tried out and it works perfectly so far using the |
events arent settled in the three.js API, and even less in the aframe api. In fact i just looked https://github.com/jeromeetienne/AR.js/blob/master/aframe/src/component-anchor.js and no event is emitted at all |
Thanks @jeromeetienne! I think #303 would fix this, do you want a version of that PR that excludes the build files? |
Is the emitevents officially part of the main code base? |
No, the official codebase does not emit any events when a marker is recognized. While the API may not be settled, I think some event or other will be important for many use cases and would recommend merging #303 or something like it. |
Is an event emitted now, or is this not feasible? |
this is merged #303 and works with (not with a-marker-camera apparently) :) |
Awesome, thanks! |
Does the
<a-marker/>
primitive emit any events?I'm responding to a question on aframe-extras, and not sure what if any events are fired, or if there's another way to trigger something happening when marker is scanned. Thanks!
The text was updated successfully, but these errors were encountered: