Class SceneLoader

java.lang.Object
com.jme3.scene.plugins.fbx.SceneLoader
All Implemented Interfaces:
AssetLoader

public class SceneLoader extends Object implements AssetLoader
FBX file format loader

Loads scene meshes, materials, textures, skeleton and skeletal animation. Multiple animations can be defined with AnimationList passing into SceneKey or loaded from different animation layer.

  • Field Details

    • WARN_IGNORED_ATTRIBUTES

      public static final boolean WARN_IGNORED_ATTRIBUTES
      See Also:
    • sceneFilename

      public String sceneFilename
    • sceneFolderName

      public String sceneFolderName
    • assetManager

      public AssetManager assetManager
    • currentAssetInfo

      public AssetInfo currentAssetInfo
    • unitSize

      public float unitSize
    • xAxis

      public int xAxis
    • yAxis

      public int yAxis
    • zAxis

      public int zAxis
    • modelMap

      public Map<Long,FbxNode> modelMap
    • sceneNode

      public Node sceneNode
  • Constructor Details

    • SceneLoader

      public SceneLoader()
  • Method Details

    • warning

      public void warning(String warning)
    • load

      public Object load(AssetInfo assetInfo) throws IOException
      Description copied from interface: AssetLoader
      Loads asset from the given input stream, parsing it into an application-usable object.
      Specified by:
      load in interface AssetLoader
      Parameters:
      assetInfo - the located asset
      Returns:
      An object representing the resource.
      Throws:
      IOException - If an I/O error occurs while loading