ExportationOptions.cs 742 B

1234567891011121314151617181920212223
  1. using System;
  2. using UnityEngine;
  3. namespace Unity3D2Babylon
  4. {
  5. public class ExportationOptions
  6. {
  7. public string DefaultFolder { get; set; }
  8. public float ReflectionDefaultLevel { get; set; }
  9. public bool ExportCollisions { get; set; }
  10. public SerializableVector3 CameraEllipsoid { get; set; }
  11. public SerializableVector3 Gravity { get; set; }
  12. public ExportationOptions()
  13. {
  14. DefaultFolder = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
  15. ReflectionDefaultLevel = 0.3f;
  16. ExportCollisions = false;
  17. CameraEllipsoid = new Vector3(0.5f, 1.0f, 0.5f);
  18. Gravity = new Vector3(0, -0.9f, 0);
  19. }
  20. }
  21. }