public class SceneAsset
extends java.lang.Object
implements com.badlogic.gdx.utils.Disposable
| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.Animation> |
animations |
GLTF |
data
underlying GLTF data structure, null if loaded without "withData" option.
|
int |
maxBones |
SceneModel |
scene |
com.badlogic.gdx.utils.Array<SceneModel> |
scenes |
com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture> |
textures
keep track of loaded texture in order to dispose them
|
| Constructor and Description |
|---|
SceneAsset() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
public GLTF data
public com.badlogic.gdx.utils.Array<SceneModel> scenes
public SceneModel scene
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.model.Animation> animations
public int maxBones
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture> textures