@itwin/core-frontend
Version:
iTwin.js frontend components
25 lines • 1.17 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
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.RenderClipVolume = void 0;
/** An opaque representation of a clip volume applied to geometry within a [[Viewport]].
* A RenderClipVolume is created from a [[ClipVector]] and takes ownership of that ClipVector, expecting that it will not be modified while the RenderClipVolume still references it.
* @see [[RenderSystem.createClipVolume]] to create a clip volume.
* @public
* @extensions
*/
class RenderClipVolume {
/** The ClipVector from which this volume was created. It must not be modified. */
clipVector;
constructor(clipVector) {
this.clipVector = clipVector;
}
}
exports.RenderClipVolume = RenderClipVolume;
//# sourceMappingURL=RenderClipVolume.js.map