UNPKG

@itwin/core-frontend

Version:
24 lines 1.39 kB
/*--------------------------------------------------------------------------------------------- * 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 */ /** As part of [[ImdlCompactEdges]], describes the visibility of an edge of a triangle. * @internal */ export 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 || (ImdlEdgeVisibility = {})); //# sourceMappingURL=ImdlSchema.js.map