@itwin/core-frontend
Version:
iTwin.js frontend components
27 lines • 1.12 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
*/
/** Holds a collection of objects comprising the scene to be drawn by a [[Viewport]]'s.
* @see [[SceneContext]] for the context in which the scene is created.
* @public
* @extensions
*/
export class Scene {
/** Graphics to be drawn as a "normal" part of the scene - that is, with depth. */
foreground = [];
/** Graphics to be drawn in the background behind all other graphics. */
background = [];
/** Graphics to be overlaid atop all other graphics. */
overlay = [];
/** @internal */
planarClassifiers = new Map(); // Classifier model id to planar classifier.
/** @internal */
textureDrapes = new Map();
/** @internal */
volumeClassifier;
}
//# sourceMappingURL=Scene.js.map