Cesium3DTileRefine.js 639 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * The refinement approach for a tile.
  3. * <p>
  4. * See the {@link https://github.com/CesiumGS/3d-tiles/tree/main/specification#refinement|Refinement}
  5. * in the 3D Tiles spec.
  6. * </p>
  7. *
  8. * @enum {Number}
  9. *
  10. * @private
  11. */
  12. const Cesium3DTileRefine = {
  13. /**
  14. * Render this tile and, if it doesn't meet the screen space error, also refine to its children.
  15. *
  16. * @type {Number}
  17. * @constant
  18. */
  19. ADD: 0,
  20. /**
  21. * Render this tile or, if it doesn't meet the screen space error, refine to its descendants instead.
  22. *
  23. * @type {Number}
  24. * @constant
  25. */
  26. REPLACE: 1,
  27. };
  28. export default Object.freeze(Cesium3DTileRefine);