Cesium3DTileRefine.js 854 B

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