diff --git a/thermion_dart/lib/src/filament/src/implementation/ffi_view.dart b/thermion_dart/lib/src/filament/src/implementation/ffi_view.dart index dad01a85..3655e01d 100644 --- a/thermion_dart/lib/src/filament/src/implementation/ffi_view.dart +++ b/thermion_dart/lib/src/filament/src/implementation/ffi_view.dart @@ -242,4 +242,8 @@ class FFIView extends View { tFogOptions.enabled = options.enabled; View_setFogOptions(this.view, tFogOptions); } + + Future setShadowsEnabled(bool enabled) async { + View_setShadowsEnabled(this.view, enabled); + } } diff --git a/thermion_dart/lib/src/filament/src/interface/view.dart b/thermion_dart/lib/src/filament/src/interface/view.dart index 9c436e7d..4d13f289 100644 --- a/thermion_dart/lib/src/filament/src/interface/view.dart +++ b/thermion_dart/lib/src/filament/src/interface/view.dart @@ -76,7 +76,7 @@ abstract class View { Future setBloom(bool enabled, double strength); Future setBlendMode(BlendMode blendMode); Future setRenderQuality(QualityLevel quality); - + Future setShadowsEnabled(bool enabled); Future setLayerVisibility(VisibilityLayers layer, bool visible); /// Sets the fog options for this view.