formatting

This commit is contained in:
Nick Fisher
2025-06-23 12:17:52 +08:00
parent 00debf509d
commit b64a505ffc

View File

@@ -103,7 +103,9 @@ abstract class ThermionViewer {
/// ///
/// ///
Future loadIblFromTexture(Texture texture, Future loadIblFromTexture(Texture texture,
{Texture? reflectionsTexture, double intensity = 30000, bool destroyExisting = true}); {Texture? reflectionsTexture,
double intensity = 30000,
bool destroyExisting = true});
/// ///
/// Rotates the IBL & skybox. /// Rotates the IBL & skybox.
@@ -177,16 +179,14 @@ abstract class ThermionViewer {
/// be loaded asynchronously (so expect some material/texture pop-in); /// be loaded asynchronously (so expect some material/texture pop-in);
/// ///
/// ///
Future<ThermionAsset> loadGltfFromBuffer( Future<ThermionAsset> loadGltfFromBuffer(Uint8List data,
Uint8List data, { {String? resourceUri,
String? resourceUri, int numInstances = 1,
int numInstances = 1, bool keepData = false,
bool keepData = false, int priority = 4,
int priority = 4, int layer = 0,
int layer = 0, bool loadResourcesAsync = false,
bool loadResourcesAsync = false, bool addToScene = true});
bool addToScene = true
});
/// ///
/// Destroys [asset] and all underlying resources /// Destroys [asset] and all underlying resources