com.jme3.animation.Animation.setTime()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(119)

本文整理了Java中com.jme3.animation.Animation.setTime()方法的一些代码示例,展示了Animation.setTime()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Animation.setTime()方法的具体详情如下:
包路径:com.jme3.animation.Animation
类名称:Animation
方法名:setTime

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){

相关文章