expose setShadowsEnabled method on View/FFIView

This commit is contained in:
Nick Fisher committed 2025-06-09 18:09:27 +08:00
1 parent ff559997dd
commit f3a576005a
2 files changed
+5 -1

No files matched your search

@@ -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);
}
}
@@ -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.