Here are the examples of the java api com.viro.core.AnimatedTexture.play() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
17
Source : VRTAnimatedImage.java
with MIT License
from ViroCommunity
with MIT License
from ViroCommunity
public void setPaused(boolean paused) {
mPaused = paused;
if (mLatestImageTexture == null) {
return;
}
AnimatedTexture animTexture = (AnimatedTexture) mLatestImageTexture;
if (mPaused || !shouldAppear()) {
animTexture.pause();
} else {
animTexture.play();
}
}