add setBloom method

This commit is contained in:
Nick Fisher committed 2023-08-24 09:36:30 +08:00
1 parent 482666da31
commit e1edb6299a
6 files changed
+29 -4

No files matched your search

+6
View File
@@ -366,6 +366,12 @@ class FilamentController {
}
}
void setBloom(double bloom) async {
if (!await _channel.invokeMethod("setBloom", bloom)) {
throw Exception("Failed to set bloom");
}
}
void setCameraFocalLength(double focalLength) async {
await _channel.invokeMethod("setCameraFocalLength", focalLength);
}