Class SceneAsset
java.lang.Object
gaiasky.util.gdx.model.gltf.scene3d.scene.SceneAsset
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Field Summary
Modifier and TypeFieldDescriptioncom.badlogic.gdx.utils.Array<IntAnimation>
underlying GLTF data structure, null if loaded without "withData" option.int
com.badlogic.gdx.utils.Array<IntMesh>
Keep track of loaded meshes in order to dispose them.com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Pixmap>
Keep track of loaded pixmaps in order to dispose them.com.badlogic.gdx.utils.Array<SceneModel>
com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture>
Keep track of loaded texture in order to dispose them. -
Constructor Summary
-
Method Summary
-
Field Details
-
data
underlying GLTF data structure, null if loaded without "withData" option. -
scenes
-
scene
-
animations
-
maxBones
public int maxBones -
textures
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture> texturesKeep track of loaded texture in order to dispose them. Textures handled by AssetManager are excluded. -
pixmaps
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Pixmap> pixmapsKeep track of loaded pixmaps in order to dispose them. Pixmaps handled by AssetManager are excluded. -
meshes
Keep track of loaded meshes in order to dispose them.
-
-
Constructor Details
-
SceneAsset
public SceneAsset()
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-