Class AnimationList

java.lang.Object
com.jme3.scene.plugins.fbx.AnimationList

public class AnimationList extends Object
Defines animations set that will be created while loading FBX scene

Animation name is using to access animation via AnimControl.
firstFrame and lastFrame defines animation time interval.
Use layerName also to define source animation layer in the case of multiple layers in the scene.
Skeletal animations will be created if only scene contain skeletal bones

  • Constructor Details

    • AnimationList

      public AnimationList()
  • Method Details

    • add

      public void add(String name, int firstFrame, int lastFrame)
      Use in the case of multiple animation layers in FBX asset
      Parameters:
      name - - animation name to access via AnimControl
      firstFrame - the index of the first frame
      lastFrame - the index of the last frame
    • add

      public void add(String name, String layerName, int firstFrame, int lastFrame)
      Use in the case of multiple animation layers in FBX asset
      Parameters:
      name - - animation name to access via AnimControl
      layerName - - source layer
      firstFrame - the index of the first frame
      lastFrame - the index of the last frame