Created
July 13, 2015 18:09
-
-
Save makelivedotnet/133fd91ce66c7a0268ee to your computer and use it in GitHub Desktop.
appear function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appear: function appearFn() { | |
World.trackableVisible = true; | |
document.getElementById('bottom').innerHTML = "<div>world trackable</div>"; | |
if (World.loaded) { | |
document.getElementById('left').innerHTML = "<div>start animation</div>"; | |
World.appearingAnimation.start(); | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appearProcessDetection: function appearProcessDetectionFn(which) { | |
World.trackableVisible = true; | |
document.getElementById('bottom').innerHTML = "<div>world trackable</div>"; | |
if (World.loaded) { | |
document.getElementById('left').innerHTML = "<div>start animation</div>"; | |
World.appearingAnimation.start(); | |
} | |
document.getElementById('loadingMessage').innerHTML = "Detected..." + which; | |
// // wait a little | |
// setTimeout(function() { | |
// // tell the document you want to close AR | |
// document.location = 'architectsdk://action=closeWikitudePlugin'; | |
// }, 9000); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment