com.jme3.asset
クラス MaterialKey
java.lang.Object
com.jme3.asset.AssetKey
com.jme3.asset.MaterialKey
- すべての実装されたインタフェース:
- Savable
public class MaterialKey
- extends AssetKey
Used for loading materials
only (not material definitions).
メソッドの概要 |
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 |
MaterialKey
public MaterialKey(java.lang.String name)
MaterialKey
public MaterialKey()
useSmartCache
public boolean useSmartCache()
- オーバーライド:
- クラス
AssetKey
内の 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
内の createClonedInstance
- パラメータ:
asset
- The asset to be cloned.
- 戻り値:
- The asset, possibly cloned.