Class IntModelData

  • public class IntModelData
    extends java.lang.Object
    Returned by a ModelLoader, contains meshes, materials, nodes and animations. OpenGL resources like textures or vertex buffer objects are not stored. Instead, a IntModelData instance needs to be converted to a Model first.
    • Field Summary

      Modifier and Type Field Description
      com.badlogic.gdx.utils.Array<> animations  
      java.lang.String id  
      com.badlogic.gdx.utils.Array<> materials  
      com.badlogic.gdx.utils.Array<IntModelMesh> meshes  
      com.badlogic.gdx.utils.Array<IntModelNode> nodes  
      short[] version  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMesh​(IntModelMesh mesh)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        public java.lang.String id
      • version

        public final short[] version
      • meshes

        public final com.badlogic.gdx.utils.Array<IntModelMesh> meshes
      • materials

        public final com.badlogic.gdx.utils.Array<> materials
      • nodes

        public final com.badlogic.gdx.utils.Array<IntModelNode> nodes
      • animations

        public final com.badlogic.gdx.utils.Array<> animations
    • Constructor Detail

      • IntModelData

        public IntModelData()