本文整理了Java中com.jme3.animation.Animation.setTime()
方法的一些代码示例,展示了Animation.setTime()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Animation.setTime()
方法的具体详情如下:
包路径:com.jme3.animation.Animation
类名称:Animation
方法名:setTime
[英]This method sets the current time of the animation. This method behaves differently for every known track type. Override this method if you have your own type of track.
[中]此方法设置动画的当前时间。对于每个已知轨迹类型,此方法的行为都不同。如果您有自己的轨迹类型,请重写此方法。
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
blendFrom.setTime(timeBlendFrom, 1f - blendAmount, control, this, vars);
animation.setTime(time, blendAmount, control, this, vars);
time += tpf * speed;
if (animation.getLength() > 0){
代码示例来源:origin: info.projectkyoto/mms-engine
blendFrom.setTime(timeBlendFrom, 1f - blendAmount, control, this, vars);
animation.setTime(time, blendAmount, control, this, vars);
time += tpf * speed;
代码示例来源:origin: org.jmonkeyengine/jme3-core
blendFrom.setTime(timeBlendFrom, 1f - blendAmount, control, this, vars);
animation.setTime(time, blendAmount, control, this, vars);
time += tpf * speed;
if (animation.getLength() > 0){
内容来源于网络,如有侵权,请联系作者删除!