fromNetwork method
uri
- a uri containing the location of the file to be loaded
Implementation
@override
Future<CubeTexture?> fromNetwork(Uri uri) async{
final image = await _loader.fromNetwork(uri);
texture.images.add(image);
loaded ++;
if ( loaded == 6 ) {
texture.needsUpdate = true;
return texture;
}
return null;
}