From 4d827badc4d8b2965d39bf624de01ac1218feb66 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 11 Oct 2023 15:31:47 +0800 Subject: [PATCH] add abstract def for getNameForEntity --- lib/filament_controller.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/filament_controller.dart b/lib/filament_controller.dart index a54a4842..5fd286fc 100644 --- a/lib/filament_controller.dart +++ b/lib/filament_controller.dart @@ -277,4 +277,9 @@ abstract class FilamentController { /// [x] and [y] must be in local logical coordinates (i.e. where 0,0 is at top-left of the FilamentWidget). /// void pick(int x, int y); + + /// + /// Retrieves the name assigned to the given FilamentEntity (usually corresponds to the glTF mesh name). + /// + String? getNameForEntity(FilamentEntity entity); }