HeightReference.js 690 B

123456789101112131415161718192021222324252627282930
  1. import freezeObject from '../Core/freezeObject.js';
  2. /**
  3. * Represents the position relative to the terrain.
  4. *
  5. * @exports HeightReference
  6. */
  7. var HeightReference = {
  8. /**
  9. * The position is absolute.
  10. * @type {Number}
  11. * @constant
  12. */
  13. NONE : 0,
  14. /**
  15. * The position is clamped to the terrain.
  16. * @type {Number}
  17. * @constant
  18. */
  19. CLAMP_TO_GROUND : 1,
  20. /**
  21. * The position height is the height above the terrain.
  22. * @type {Number}
  23. * @constant
  24. */
  25. RELATIVE_TO_GROUND : 2
  26. };
  27. export default freezeObject(HeightReference);