fixes for Android transparency and add removeAsset method
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user