expose method for retrieving all child entities
This commit is contained in:
1 parent
849ad6c530
commit
b357144a79
13 files changed
+101
-21
No files matched your search
@@ -215,6 +215,13 @@ class _AssetSubmenuState extends State<AssetSubmenu> {
|
||||
},
|
||||
child: const Text("Add point light"),
|
||||
),
|
||||
MenuItemButton(
|
||||
onPressed: () async {
|
||||
await widget.controller
|
||||
.addLight(3, 6500, 15000000, 0, 1, 0, 0, -1, 0, true);
|
||||
},
|
||||
child: const Text("Add spot light"),
|
||||
),
|
||||
MenuItemButton(
|
||||
onPressed: () async {
|
||||
await widget.controller.clearLights();
|
||||
|
||||
Reference in new issue
Block a user