GLTFImporter 추가
This commit is contained in:
@@ -191,7 +191,8 @@ namespace SHI.Modal.ISOP
|
||||
|
||||
Debug.Log($"ISOPModelView.LoadModelAsync: Loading {path}");
|
||||
var gltf = new GltfImport();
|
||||
var success = await gltf.Load(path, new ImportSettings(), ct);
|
||||
var importSettings = new ImportSettings();
|
||||
var success = await gltf.Load(path, importSettings, ct);
|
||||
if (!success)
|
||||
{
|
||||
Debug.LogError($"glTFast Load failed: {path}");
|
||||
@@ -425,7 +426,7 @@ namespace SHI.Modal.ISOP
|
||||
if (_idToObject.TryGetValue(id, out var go))
|
||||
{
|
||||
Debug.Log($"Exporting object: {go.name}");
|
||||
UVC.GLTF.GLTFExporter.ExportNodeByExplorer(go);
|
||||
UVC.GLTF.Export.GLTFExporter.ExportNodeByExplorer(go);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -427,7 +427,7 @@ namespace SHI.Modal.NW
|
||||
{
|
||||
if (_idToObject.TryGetValue(id, out var go))
|
||||
{
|
||||
UVC.GLTF.GLTFExporter.ExportNodeByExplorer(go);
|
||||
UVC.GLTF.Export.GLTFExporter.ExportNodeByExplorer(go);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user