本文整理了Java中com.jme3.animation.Animation.addTrack()
方法的一些代码示例,展示了Animation.addTrack()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Animation.addTrack()
方法的具体详情如下:
包路径:com.jme3.animation.Animation
类名称:Animation
方法名:addTrack
[英]Adds a track to this animation
[中]将轨迹添加到此动画中
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
else
track = new BoneTrack(limb.boneIndex, times, translations, rotations);
anim.addTrack(track);
anim = new Animation(animInfo.name, realLength);
for(Track track : tracks)
anim.addTrack(track);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
if (((BoneTrack) track).getTargetBoneIndex() == trackEntry.getKey().intValue()) {
animation.removeTrack(track);
animation.addTrack(newTrack);
trackReplaced = true;
break;
animation.addTrack(newTrack);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
anim.addTrack(bt);
} else {
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
if (newTrack != null) {
animation.removeTrack(track);
animation.addTrack(newTrack);
代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-plugins
else
track = new BoneTrack(limb.boneIndex, times, translations, rotations);
anim.addTrack(track);
代码示例来源:origin: org.jmonkeyengine/jme3-plugins
else
track = new BoneTrack(limb.boneIndex, times, translations, rotations);
anim.addTrack(track);
anim = new Animation(animInfo.name, realLength);
for(Track track : tracks)
anim.addTrack(track);
代码示例来源:origin: org.jmonkeyengine/jme3-plugins
SpatialTrack track = new SpatialTrack(trackData.times, trackData.translations, trackData.rotations, trackData.scales);
track.setTrackSpatial(s);
anim.addTrack(track);
} else if (node instanceof BoneWrapper) {
BoneWrapper b = (BoneWrapper) node;
anim.addTrack(track);
anim.addTrack(track);
代码示例来源:origin: org.jmonkeyengine/jme3-plugins
anim.addTrack(bt);
} else {
内容来源于网络,如有侵权,请联系作者删除!