fixes for Android transparency and add removeAsset method

This commit is contained in:
Nick Fisher committed 2022-07-11 19:12:49 +10:00
1 parent f65c7ab50b
commit e3ab9ced81
10 files changed
+139 -500

No files matched your search

+5
View File
@@ -17,6 +17,7 @@ abstract class FilamentController {
Future<List<String>> getTargetNames(String meshName);
Future<List<String>> getAnimationNames();
Future releaseSourceAssets();
Future removeAsset();
Future playAnimation(int index, {bool loop = false});
Future stopAnimation();
Future setCamera(String name);
@@ -122,6 +123,10 @@ class PolyvoxFilamentController extends FilamentController {
await _channel.invokeMethod("releaseSourceAssets");
}
Future removeAsset() async {
await _channel.invokeMethod("removeAsset");
}
Future zoom(double z) async {
await _channel.invokeMethod("zoom", z);
}