allow relativeResourcePath to be null for loadGltfFromBuffer
This commit is contained in:
@@ -149,12 +149,14 @@ abstract class ThermionViewer {
|
|||||||
///
|
///
|
||||||
///
|
///
|
||||||
Future<ThermionAsset> loadGltfFromBuffer(Uint8List data,
|
Future<ThermionAsset> loadGltfFromBuffer(Uint8List data,
|
||||||
{int numInstances = 1,
|
{
|
||||||
bool keepData = false,
|
String? relativeResourcePath,
|
||||||
int priority = 4,
|
int numInstances = 1,
|
||||||
int layer = 0,
|
bool keepData = false,
|
||||||
bool loadResourcesAsync = false,
|
int priority = 4,
|
||||||
String relativeResourcePath});
|
int layer = 0,
|
||||||
|
bool loadResourcesAsync = false,
|
||||||
|
});
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Destroys [asset] and all underlying resources
|
/// Destroys [asset] and all underlying resources
|
||||||
|
|||||||
Reference in New Issue
Block a user