Package gaiasky.util.gdx.model.data
Class IntModelData
- java.lang.Object
-
- gaiasky.util.gdx.model.data.IntModelData
-
public class IntModelData extends java.lang.Object
Returned by aModelLoader
, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMesh(IntModelMesh mesh)
-
-
-
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<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
-
-
Method Detail
-
addMesh
public void addMesh(IntModelMesh mesh)
-
-