From fc4686b20f839180d7b825a465c865876578b988 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 4 Jun 2025 17:44:24 +0800 Subject: [PATCH] add documentation for Scene --- .../lib/src/filament/src/interface/scene.dart | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/thermion_dart/lib/src/filament/src/interface/scene.dart b/thermion_dart/lib/src/filament/src/interface/scene.dart index d52fd576..b941f130 100644 --- a/thermion_dart/lib/src/filament/src/interface/scene.dart +++ b/thermion_dart/lib/src/filament/src/interface/scene.dart @@ -1,7 +1,18 @@ import 'package:thermion_dart/thermion_dart.dart'; abstract class Scene { + + /// Adds all renderable entities in [asset] to this scene. + /// + /// Future add(covariant ThermionAsset asset); + + /// Adds [entity] to this scene (which is assumed to have a Renderable + /// component). + /// Future addEntity(ThermionEntity entity); + + /// Removes all renderable entities in [asset] from this scene. + /// Future remove(covariant ThermionAsset asset); }