Codota Logo
SceneKey.getAnimations
Code IndexAdd Codota to your IDE (free)

How to use
getAnimations
method
in
com.jme3.scene.plugins.fbx.SceneKey

Best Java code snippets using com.jme3.scene.plugins.fbx.SceneKey.getAnimations (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

@Override
public Object load(AssetInfo assetInfo) throws IOException {
  this.currentAssetInfo = assetInfo;
  this.assetManager = assetInfo.getManager();
  AssetKey<?> assetKey = assetInfo.getKey();
  if(assetKey instanceof SceneKey)
    animList = ((SceneKey) assetKey).getAnimations();
  InputStream stream = assetInfo.openStream();
  final Node sceneNode = this.sceneNode = new Node(sceneName + "-scene");
  try {
    sceneFilename = assetKey.getName();
    sceneFolderName = assetKey.getFolder();
    String ext = assetKey.getExtension();
    sceneName = sceneFilename.substring(0, sceneFilename.length() - ext.length() - 1);
    if(sceneFolderName != null && sceneFolderName.length() > 0)
      sceneName = sceneName.substring(sceneFolderName.length());
    loadScene(stream);
    linkScene();
    if(warnings.size() > 0)
      logger.log(Level.WARNING, "Model load finished with warnings:\n" + join(warnings, "\n"));
  } finally {
    releaseObjects();
    if(stream != null)
      stream.close();
  }
  return sceneNode;
}

origin: org.jmonkeyengine/jme3-plugins

@Override
public Object load(AssetInfo assetInfo) throws IOException {
  this.currentAssetInfo = assetInfo;
  this.assetManager = assetInfo.getManager();
  AssetKey<?> assetKey = assetInfo.getKey();
  if(assetKey instanceof SceneKey)
    animList = ((SceneKey) assetKey).getAnimations();
  InputStream stream = assetInfo.openStream();
  final Node sceneNode = this.sceneNode = new Node(sceneName + "-scene");
  try {
    sceneFilename = assetKey.getName();
    sceneFolderName = assetKey.getFolder();
    String ext = assetKey.getExtension();
    sceneName = sceneFilename.substring(0, sceneFilename.length() - ext.length() - 1);
    if(sceneFolderName != null && sceneFolderName.length() > 0)
      sceneName = sceneName.substring(sceneFolderName.length());
    loadScene(stream);
    linkScene();
    if(warnings.size() > 0)
      logger.log(Level.WARNING, "Model load finished with warnings:\n" + join(warnings, "\n"));
  } finally {
    releaseObjects();
    if(stream != null)
      stream.close();
  }
  return sceneNode;
}

origin: us.ihmc.thirdparty.jme/jme3-plugins

@Override
public Object load(AssetInfo assetInfo) throws IOException {
  this.assetManager = assetInfo.getManager();
  AssetKey<?> assetKey = assetInfo.getKey();
  if(assetKey instanceof SceneKey)
    animList = ((SceneKey) assetKey).getAnimations();
  else if(!(assetKey instanceof ModelKey))
    throw new AssetLoadException("Invalid asset key");
  InputStream stream = assetInfo.openStream();
  Node sceneNode = null;
  try {
    sceneFilename = assetKey.getName();
    sceneFolderName = assetKey.getFolder();
    String ext = assetKey.getExtension();
    sceneName = sceneFilename.substring(0, sceneFilename.length() - ext.length() - 1);
    if(sceneFolderName != null && sceneFolderName.length() > 0)
      sceneName = sceneName.substring(sceneFolderName.length());
    reset();
    loadScene(stream);
    sceneNode = linkScene();
  } finally {
    releaseObjects();
    if(stream != null) {
      stream.close();
    }
  }
  return sceneNode;
}
 
com.jme3.scene.plugins.fbxSceneKeygetAnimations

Popular methods of SceneKey

  • <init>

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • onRequestPermissionsResult (Fragment)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now