refactor!: rename removeAsset to destroyAsset

use render thread methods for lights
This commit is contained in:
Nick Fisher
2025-01-04 15:56:05 +08:00
parent 04adbc39e0
commit 4e64c4976f
25 changed files with 1233 additions and 219 deletions

View File

@@ -22,7 +22,7 @@ class _Gizmo {
Future dispose() async {
await transformUpdates.close();
await viewer.removeAsset(_gizmo);
await viewer.destroyAsset(_gizmo);
}
Future hide() async {

View File

@@ -23,7 +23,7 @@
// }
// Future dispose() async {
// await viewer.removeAsset(_translationGizmo);
// await viewer.destroyAsset(_translationGizmo);
// }
// @override