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 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>animationsjava.lang.Stringidcom.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial>materialscom.badlogic.gdx.utils.Array<IntModelMesh>meshescom.badlogic.gdx.utils.Array<IntModelNode>nodesshort[]version -
Constructor Summary
Constructors Constructor Description IntModelData() -
Method Summary
Modifier and Type Method Description voidaddMesh(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
-
materials
public final com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.data.ModelMaterial> materials -
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
-
addMesh
-