expose setShadowsEnabled method on View/FFIView
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user