Package com.jme3.asset
Class ModelKey
- Direct Known Subclasses:
- GltfModelKey,- OgreMeshKey,- SceneKey
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.
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.jme3.asset.AssetKeyclone, equals, getExtension, getExtension, getFolder, getFolder, getName, hashCode, read, reducePath, toString, write
- 
Constructor Details- 
ModelKey
- 
ModelKeypublic ModelKey()
 
- 
- 
Method Details- 
getCacheType- Overrides:
- getCacheTypein class- AssetKey<Spatial>
- Returns:
- The preferred cache class for this asset type. Specify "null"
 if caching is to be disabled. By default, the
 SimpleAssetCacheis returned.
 
- 
getProcessorType- Overrides:
- getProcessorTypein class- AssetKey<Spatial>
- Returns:
- The preferred processor type for this asset type. Specify "null" if no processing is required.
 
 
-