@itwin/core-frontend
Version:
iTwin.js frontend components
33 lines • 1.26 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 Rendering
*/
export class RenderTerrainGeometry {
}
export 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);
}
}
//# sourceMappingURL=RenderTerrain.js.map