@@ -216,7 +216,7 @@ public void CreateSceneWithEmptyMeshes()
216216 scene . AddRigidMesh ( mesh2 , Matrix4x4 . Identity ) ;
217217 scene . AddRigidMesh ( mesh3 , Matrix4x4 . CreateTranslation ( 0 , 10 , 0 ) ) ;
218218
219- var model = scene . ToSchema2 ( ) ;
219+ var model = scene . ToGltf2 ( ) ;
220220
221221 Assert . AreEqual ( 3 , model . LogicalMaterials . Count ) ;
222222 CollectionAssert . AreEquivalent ( new [ ] { "material0" , "material2" , "material3" } , model . LogicalMaterials . Select ( item => item . Name ) ) ;
@@ -473,7 +473,7 @@ public void CreateAllAnimationTypesScene()
473473 curve . SetPoint ( 1 , Transforms . SparseWeight8 . Create ( 1 ) ) ;
474474 curve . SetPoint ( 2 , Transforms . SparseWeight8 . Create ( 0 ) ) ;
475475
476- var gltf = scene . ToSchema2 ( ) ;
476+ var gltf = scene . ToGltf2 ( ) ;
477477
478478 // Assert.AreEqual(1, gltf.LogicalMeshes[1].MorphWeights[0]);
479479
@@ -537,8 +537,8 @@ public void TestRoundTrip(string path)
537537
538538 var srcScene = Schema2Toolkit . ToSceneBuilder ( srcModel . DefaultScene ) ;
539539
540- var rowModel = srcScene . ToSchema2 ( ) ;
541- var colModel = srcScene . ToSchema2 ( false ) ;
540+ var rowModel = srcScene . ToGltf2 ( ) ;
541+ var colModel = srcScene . ToGltf2 ( false ) ;
542542
543543 var rowScene = Schema2Toolkit . ToSceneBuilder ( rowModel . DefaultScene ) ;
544544 var colScene = Schema2Toolkit . ToSceneBuilder ( colModel . DefaultScene ) ;
0 commit comments