com.jme3.asset
クラス ModelKey
java.lang.Object
com.jme3.asset.AssetKey<Spatial>
com.jme3.asset.ModelKey
- すべての実装されたインタフェース:
- Savable
public class ModelKey
- extends AssetKey<Spatial>
メソッドの概要 |
java.lang.Object |
createClonedInstance(java.lang.Object asset)
Create a new instance of the asset, based on a prototype that is stored
in the cache. |
boolean |
useSmartCache()
|
クラス com.jme3.asset.AssetKey から継承されたメソッド |
equals, getExtension, getFolder, getName, hashCode, postProcess, read, reducePath, shouldCache, toString, write |
クラス java.lang.Object から継承されたメソッド |
getClass, notify, notifyAll, wait, wait, wait |
ModelKey
public ModelKey(java.lang.String name)
ModelKey
public ModelKey()
useSmartCache
public boolean useSmartCache()
- オーバーライド:
- クラス
AssetKey<Spatial>
内の useSmartCache
- 戻り値:
- Should return true, if the asset objects implement the "Asset"
interface and want to be removed from the cache when no longer
referenced in user-code.
createClonedInstance
public java.lang.Object createClonedInstance(java.lang.Object asset)
- クラス
AssetKey
の記述:
- Create a new instance of the asset, based on a prototype that is stored
in the cache. Implementations are allowed to return the given parameter
as-is if it is considered that cloning is not necessary for that particular
asset type.
- オーバーライド:
- クラス
AssetKey<Spatial>
内の createClonedInstance
- パラメータ:
asset
- The asset to be cloned.
- 戻り値:
- The asset, possibly cloned.