From c5c78c7478eba2b083188fdc67b3dc5775bfbf19 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Fri, 15 Sep 2023 13:51:52 +0800 Subject: [PATCH] add fillHeight option to setBackgroundImage --- example/lib/main.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/example/lib/main.dart b/example/lib/main.dart index e4eb81ac..b5c83a55 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -90,6 +90,10 @@ class _ExampleWidgetState extends State { _item(() { _filamentController.setBackgroundImage('assets/background.ktx'); }, "load background image"), + _item(() { + _filamentController.setBackgroundImage('assets/background.ktx', + fillHeight: true); + }, "load background image (fill height)"), _item(() { _filamentController .loadSkybox('assets/default_env/default_env_skybox.ktx');