add setViewFrustumCulling, zoomDelta for gesture detector and cleanup

This commit is contained in:
Nick Fisher
2023-09-26 14:51:18 +08:00
parent 833022e4e0
commit 182df02b06
8 changed files with 41 additions and 9 deletions

View File

@@ -527,6 +527,13 @@ class FilamentController {
await _channel.invokeMethod("moveCameraToAsset", asset);
}
Future setViewFrustumCulling(bool enabled) async {
if (_viewer == null || _resizing) {
throw Exception("No viewer available, ignoring");
}
await _channel.invokeMethod("setViewFrustumCulling", enabled);
}
Future setCameraExposure(
double aperture, double shutterSpeed, double sensitivity) async {
if (_viewer == null || _resizing) {