ClassificationType.js 811 B

1234567891011121314151617181920212223242526272829303132333435
  1. import freezeObject from '../Core/freezeObject.js';
  2. /**
  3. * Whether a classification affects terrain, 3D Tiles or both.
  4. *
  5. * @exports ClassificationType
  6. */
  7. var ClassificationType = {
  8. /**
  9. * Only terrain will be classified.
  10. *
  11. * @type {Number}
  12. * @constant
  13. */
  14. TERRAIN : 0,
  15. /**
  16. * Only 3D Tiles will be classified.
  17. *
  18. * @type {Number}
  19. * @constant
  20. */
  21. CESIUM_3D_TILE : 1,
  22. /**
  23. * Both terrain and 3D Tiles will be classified.
  24. *
  25. * @type {Number}
  26. * @constant
  27. */
  28. BOTH : 2,
  29. /**
  30. * @private
  31. */
  32. NUMBER_OF_CLASSIFICATION_TYPES : 3
  33. };
  34. export default freezeObject(ClassificationType);