refactoring

This commit is contained in:
Nick Fisher
2025-03-21 14:56:20 +08:00
parent 1177a71f73
commit 255c0edd49
38 changed files with 1521 additions and 1207 deletions

View File

@@ -32,6 +32,11 @@ abstract class ThermionAsset {
///
Future<List<ThermionEntity>> getChildEntities();
///
///
///
Future<List<String?>> getChildEntityNames();
///
///
///
@@ -91,6 +96,21 @@ abstract class ThermionAsset {
///
Future setReceiveShadows(bool castShadows);
///
///
///
Future<bool> isCastShadowsEnabled({ThermionEntity? entity});
///
///
///
Future<bool> isReceiveShadowsEnabled({ThermionEntity? entity});
///
///
///
Future transformToUnitCube();
///
/// All renderable entities are assigned a layer mask.
///

View File

@@ -241,7 +241,7 @@ abstract class FilamentApp<T> {
///
///
///
Future<ThermionAsset> loadGlbFromBuffer(Uint8List data, T animationManager,
Future<ThermionAsset> loadGltfFromBuffer(Uint8List data, T animationManager,
{int numInstances = 1,
bool keepData = false,
int priority = 4,