Class SceneAsset

java.lang.Object
gaiasky.util.gdx.model.gltf.scene3d.scene.SceneAsset
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class SceneAsset extends Object implements com.badlogic.gdx.utils.Disposable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      public GLTF data
      underlying GLTF data structure, null if loaded without "withData" option.
    • scenes

      public com.badlogic.gdx.utils.Array<SceneModel> scenes
    • scene

      public SceneModel scene
    • animations

      public com.badlogic.gdx.utils.Array<IntAnimation> animations
    • maxBones

      public int maxBones
    • textures

      public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture> textures
      Keep 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> pixmaps
      Keep track of loaded pixmaps in order to dispose them. Pixmaps handled by AssetManager are excluded.
    • meshes

      public com.badlogic.gdx.utils.Array<IntMesh> 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 interface com.badlogic.gdx.utils.Disposable