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

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

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

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 {

相关文章