BabylonLodScene.cs 696 B

1234567891011121314151617181920212223242526272829303132
  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. [DataMember]
  13. public bool useDelayedTextureLoading { get; set; }
  14. public BabylonLodScene(string outputPath) : base(outputPath)
  15. {
  16. }
  17. public void Convert(string srcPath, string dstPath)
  18. {
  19. for (int x = 0; x < meshes.Length; x++)
  20. {
  21. meshes[x].Convert(srcPath, dstPath);
  22. }
  23. }
  24. }
  25. }