UNPKG

cesium

Version:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

38 lines (34 loc) 939 B
define([ '../Core/freezeObject' ], function( freezeObject) { 'use strict'; /** * The refinement approach for a tile. * <p> * See the {@link https://github.com/AnalyticalGraphicsInc/3d-tiles/blob/master/schema/tile.schema.json|tile schema} * in the 3D Tiles spec. * </p> * * @exports Cesium3DTileRefine * * @private */ var Cesium3DTileRefine = { /** * Render this tile and, if it doesn't meet the screen space error, also refine to its children. * * @type {Number} * @constant */ ADD : 0, /** * Render this tile or, if it doesn't meet the screen space error, refine to its descendants instead. * * @type {Number} * @constant */ REPLACE : 1 }; return freezeObject(Cesium3DTileRefine); });