@itwin/core-frontend
Version:
iTwin.js frontend components
27 lines • 1.52 kB
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Tiles
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImdlEdgeVisibility = void 0;
/** As part of [[ImdlCompactEdges]], describes the visibility of an edge of a triangle.
* @internal
*/
var ImdlEdgeVisibility;
(function (ImdlEdgeVisibility) {
/** The edge is never visible. */
ImdlEdgeVisibility[ImdlEdgeVisibility["Hidden"] = 0] = "Hidden";
/** The edge is shared between two adjacent triangles. It is visible only if one triangle is facing away from the viewer and the other is facing toward the viewer. */
ImdlEdgeVisibility[ImdlEdgeVisibility["Silhouette"] = 1] = "Silhouette";
/** The edge is always visible. */
ImdlEdgeVisibility[ImdlEdgeVisibility["Visible"] = 2] = "Visible";
/** Used only by EXT_mesh_primitive_edge_visibility to indicate a repeated edge previously encoded as `Visible`.
iMdl simply marks these redundant edges as `Hidden`.
*/
ImdlEdgeVisibility[ImdlEdgeVisibility["VisibleDuplicate"] = 3] = "VisibleDuplicate";
})(ImdlEdgeVisibility || (exports.ImdlEdgeVisibility = ImdlEdgeVisibility = {}));
//# sourceMappingURL=ImdlSchema.js.map