Class ModelKey

All Implemented Interfaces:
Savable, Cloneable
Direct Known Subclasses:
GltfModelKey, OgreMeshKey, SceneKey

public class ModelKey extends AssetKey<Spatial>
Used to load model files, such as OBJ or Blender models. This uses cloneable smart asset management, so that when all clones of this model become unreachable, the original asset is purged from the cache, allowing textures, materials, shaders, etc referenced by the model to become collected.
  • Constructor Details

    • ModelKey

      public ModelKey(String name)
    • ModelKey

      public ModelKey()
  • Method Details