GLTFImporter 추가

This commit is contained in:
logonkhi
2025-12-03 17:48:01 +09:00
parent 5704b2d109
commit 1e51658e8d
26 changed files with 1289 additions and 7 deletions

View File

@@ -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);
}
}

View File

@@ -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);
}
}