cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
42 lines (39 loc) • 900 B
JavaScript
define([
'../Core/freezeObject'
], function(
freezeObject) {
'use strict';
/**
* Whether a classification affects terrain, 3D Tiles or both.
*
* @exports ClassificationType
*/
var ClassificationType = {
/**
* Only terrain will be classified.
*
* @type {Number}
* @constant
*/
TERRAIN : 0,
/**
* Only 3D Tiles will be classified.
*
* @type {Number}
* @constant
*/
CESIUM_3D_TILE : 1,
/**
* Both terrain and 3D Tiles will be classified.
*
* @type {Number}
* @constant
*/
BOTH : 2,
/**
* @private
*/
NUMBER_OF_CLASSIFICATION_TYPES : 3
};
return freezeObject(ClassificationType);
});