There's already an event to detect when an image target is found or lost, but it would be nice to also have an event that fires if the image target's position, scale or rotation changes. "ontransformchange", or something like that. It would probably fire all the time. But I'm thinking it would be more efficient than using requestanimationframe or tick or tock.
The use case here is that I do not place the content inside the a-entity, but rather I'm just polling the entity to get the transform every frame and apply it somewhere else. And event like "ontransformchange" would be useful.
There's already an event to detect when an image target is found or lost, but it would be nice to also have an event that fires if the image target's position, scale or rotation changes. "ontransformchange", or something like that. It would probably fire all the time. But I'm thinking it would be more efficient than using requestanimationframe or tick or tock.
The use case here is that I do not place the content inside the a-entity, but rather I'm just polling the entity to get the transform every frame and apply it somewhere else. And event like "ontransformchange" would be useful.