ExperimentalFeatures.js 1.2 KB

12345678910111213141516171819202122232425262728
  1. /**
  2. * Flags to enable experimental features in CesiumJS. Stability and performance
  3. * may not be optimal when these are enabled. Experimental features are subject
  4. * to change without Cesium's standard deprecation policy.
  5. * <p>
  6. * Experimental features must still uphold Cesium's quality standards. Here
  7. * are some guidelines:
  8. * </p>
  9. * <ul>
  10. * <li>Experimental features must have high unit test coverage like any other feature.</li>
  11. * <li>Experimental features are intended for large features where there is benefit of merging some of the code sooner (e.g. to avoid long-running staging branches)</li>
  12. * <li>Experimental flags should be short-lived. Make it clear in the PR what it would take to promote the feature to a regular feature.</li>
  13. * <li>To avoid cluttering the code, check the flag in as few places as possible. Ideally this would be a single place.</li>
  14. * </ul>
  15. *
  16. * @namespace
  17. * @experimental This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.
  18. */
  19. const ExperimentalFeatures = {
  20. /**
  21. * Toggles the usage of the ModelExperimental class.
  22. *
  23. * @type {Boolean}
  24. */
  25. enableModelExperimental: false,
  26. };
  27. export default ExperimentalFeatures;