@itwin/core-frontend
Version:
iTwin.js frontend components
38 lines • 1.49 kB
JavaScript
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Rendering
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TerrainTexture = exports.RenderTerrainGeometry = void 0;
class RenderTerrainGeometry {
}
exports.RenderTerrainGeometry = RenderTerrainGeometry;
class TerrainTexture {
texture;
featureId;
scale;
translate;
targetRectangle;
layerIndex;
transparency;
clipRectangle;
constructor(texture, featureId, scale, translate, targetRectangle, layerIndex, transparency, clipRectangle) {
this.texture = texture;
this.featureId = featureId;
this.scale = scale;
this.translate = translate;
this.targetRectangle = targetRectangle;
this.layerIndex = layerIndex;
this.transparency = transparency;
this.clipRectangle = clipRectangle;
}
cloneWithClip(clipRectangle) {
return new TerrainTexture(this.texture, this.featureId, this.scale, this.translate, this.targetRectangle, this.layerIndex, this.transparency, clipRectangle);
}
}
exports.TerrainTexture = TerrainTexture;
//# sourceMappingURL=RenderTerrain.js.map