Class IntModelData

java.lang.Object
gaiasky.util.gdx.model.data.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

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

    Constructors
    Constructor Description
    IntModelData()  
  • Method Summary

    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 Details

    • 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<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial> materials
    • nodes

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

      public final com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelAnimation> animations
  • Constructor Details

    • IntModelData

      public IntModelData()
  • Method Details