Package com.jme3.scene.plugins.fbx
Class ContentTextureLocator
java.lang.Object
com.jme3.scene.plugins.fbx.ContentTextureLocator
- All Implemented Interfaces:
- AssetLocator
Used to locate a resource based on a 
ContentTextureKey.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlocate(AssetManager manager, AssetKey key) Request to locate an asset.voidsetRootPath(String rootPath) 
- 
Constructor Details- 
ContentTextureLocatorpublic ContentTextureLocator()
 
- 
- 
Method Details- 
setRootPath- Specified by:
- setRootPathin interface- AssetLocator
- Parameters:
- rootPath- The root path where to look for assets. Typically, this method will only be called once for each instance of an asset locator.
 
- 
locateDescription copied from interface:AssetLocatorRequest to locate an asset. The asset key contains a name identifying the asset. If an asset was not found, null should be returned. TheAssetInfoimplementation provided should have a proper return value for itsAssetInfo.openStream()method.- Specified by:
- locatein interface- AssetLocator
- Parameters:
- manager- for managing assets
- key- identifies the asset to be located
- Returns:
- The AssetInfothat was located, or null if not found.
 
 
-