@Override
    public void setKey(AssetKey key){
        this.key = (TextureKey) key;
    }
@param key The texture key that was used to load this texture
jme3-core/src/main/java/com/jme3/texture/Texture.java