BabylonHDRCubeTexture.cs 987 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Runtime.Serialization;
  2. namespace BabylonExport.Entities
  3. {
  4. [DataContract]
  5. public class BabylonHDRCubeTexture : BabylonTexture
  6. {
  7. [DataMember]
  8. public string customType { get; private set; }
  9. [DataMember]
  10. public int size { get; set; }
  11. [DataMember]
  12. public bool useInGammaSpace { get; set; }
  13. [DataMember]
  14. public bool generateHarmonics { get; set; }
  15. [DataMember]
  16. public bool usePMREMGenerator { get; set; }
  17. [DataMember]
  18. public bool isBABYLONPreprocessed { get; set; }
  19. public BabylonHDRCubeTexture()
  20. {
  21. this.customType = "BABYLON.HDRCubeTexture";
  22. this.size = 0;
  23. this.isCube = true;
  24. this.useInGammaSpace = false;
  25. this.generateHarmonics = true;
  26. this.usePMREMGenerator = false;
  27. this.isBABYLONPreprocessed = false;
  28. }
  29. }
  30. }