BabylonLodScene.cs 615 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Runtime.Serialization;
  4. using BabylonExport.Core;
  5. namespace BabylonBinaryConverter
  6. {
  7. [DataContract]
  8. public class BabylonLodScene : BabylonScene
  9. {
  10. [DataMember]
  11. public new BabylonLodMesh[] meshes { get; set; }
  12. public BabylonLodScene(string outputPath) : base(outputPath)
  13. {
  14. }
  15. public void Convert(string srcPath, string dstPath)
  16. {
  17. for (int x = 0; x < meshes.Length; x++)
  18. {
  19. meshes[x].Convert(srcPath, dstPath);
  20. }
  21. }
  22. }
  23. }