本文整理了Java中com.jme3.animation.Animation.getName()
方法的一些代码示例,展示了Animation.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Animation.getName()
方法的具体详情如下:
包路径:com.jme3.animation.Animation
类名称:Animation
方法名:getName
[英]The name of the bone animation
[中]骨骼动画的名称
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
/**
* @return The name of the currently playing animation, or null if
* none is assigned.
*
* @see AnimChannel#setAnim(java.lang.String)
*/
public String getAnimationName() {
return animation != null ? animation.getName() : null;
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
/**
* Adds an animation to be available for playing to this
* <code>AnimControl</code>.
* @param anim The animation to add.
*/
public void addAnim(Animation anim) {
animationMap.put(anim.getName(), anim);
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
/**
* Remove an animation so that it is no longer available for playing.
* @param anim The animation to remove.
*/
public void removeAnim(Animation anim) {
if (!animationMap.containsKey(anim.getName())) {
throw new IllegalArgumentException("Given animation does not exist "
+ "in this AnimControl");
}
animationMap.remove(anim.getName());
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
if(features != null) {
for(Animation feature : features) {
if(featureName.equals(feature.getName())) {
return feature;
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
for (int i = 0; i < animations.size(); ++i) {
Animation animation = animations.get(i);
anims.put(animation.getName(), animation);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
for (int i = 0; i < animations.size(); ++i) {
Animation animation = animations.get(i);
anims.put(animation.getName(), animation);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
anim.addTrack(track);
anims.put(anim.getName(), anim);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
control.notifyAnimCycleDone(this, animation.getName());
代码示例来源:origin: info.projectkyoto/mms-engine
/**
* @return The name of the currently playing animation, or null if
* none is assigned.
*
* @see AnimChannel#setAnim(java.lang.String)
*/
public String getAnimationName() {
return animation != null ? animation.getName() : null;
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
/**
* @return The name of the currently playing animation, or null if
* none is assigned.
*
* @see AnimChannel#setAnim(java.lang.String)
*/
public String getAnimationName() {
return animation != null ? animation.getName() : null;
}
代码示例来源:origin: info.projectkyoto/mms-engine
/**
* Adds an animation to be available for playing to this
* <code>AnimControl</code>.
* @param anim The animation to add.
*/
public void addAnim(Animation anim) {
animationMap.put(anim.getName(), anim);
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
/**
* Adds an animation to be available for playing to this
* <code>AnimControl</code>.
* @param anim The animation to add.
*/
public void addAnim(Animation anim) {
animationMap.put(anim.getName(), anim);
}
代码示例来源:origin: info.projectkyoto/mms-engine
/**
* Remove an animation so that it is no longer available for playing.
* @param anim The animation to remove.
*/
public void removeAnim(Animation anim) {
if (!animationMap.containsKey(anim.getName())) {
throw new IllegalArgumentException("Given animation does not exist "
+ "in this AnimControl");
}
animationMap.remove(anim.getName());
}
代码示例来源:origin: org.jmonkeyengine/jme3-core
/**
* Remove an animation so that it is no longer available for playing.
* @param anim The animation to remove.
*/
public void removeAnim(Animation anim) {
if (!animationMap.containsKey(anim.getName())) {
throw new IllegalArgumentException("Given animation does not exist "
+ "in this AnimControl");
}
animationMap.remove(anim.getName());
}
代码示例来源:origin: org.jmonkeyengine/jme3-dae
private void debugAnimation(Animation anim) throws Exception
{
System.out.println("ANIMATION: " + anim.getName());
}
代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-plugins
for (int i = 0; i < animList.size(); i++) {
Animation anim = animList.get(i);
anims.put(anim.getName(), anim);
代码示例来源:origin: info.projectkyoto/mms-engine
for (int i = 0; i < animList.size(); i++) {
Animation anim = animList.get(i);
anims.put(anim.getName(), anim);
代码示例来源:origin: org.jmonkeyengine/jme3-plugins
for (int i = 0; i < animList.size(); i++) {
Animation anim = animList.get(i);
anims.put(anim.getName(), anim);
代码示例来源:origin: info.projectkyoto/mms-engine
control.notifyAnimCycleDone(this, animation.getName());
代码示例来源:origin: org.jmonkeyengine/jme3-core
control.notifyAnimCycleDone(this, animation.getName());
内容来源于网络,如有侵权,请联系作者删除!