TileDrawArgs Class

Beta

Arguments used when selecting and drawing Tiles.

see TileTree.selectTiles

see TileTree.draw

Methods

Name Description
constructor(context: SceneContext, location: Transform, tree: TileTree, now: BeTimePoint, viewFlagOverrides: ViewFlagOverrides, clip?: RenderClipVolume, parentsAndChildrenExclusive: boolean = true, symbologyOverrides?: FeatureSymbology.Overrides): TileDrawArgs Constructor  
getPixelSize(tile: Tile): number Compute the size of this tile on screen in pixels.  
getRangePixelSize(range: Range3d): number Compute this size of a sphere on screen in pixels  
insertMissing(tile: Tile): void Indicate that graphics for the specified tile are desired but not yet available.  
markReady(tile: Tile): void Indicate that the specified tile should be displayed and that its graphics are ready to be displayed.  
markUsed(tile: Tile): void Indicate that the specified tile is being used for some purpose by the SceneContext's Viewport.  

Properties

Name Type Description
_frustumPlanes Protected undefined | FrustumPlanes The planes of the viewing frustum, used for frustum culling.  
clipVolume undefined | RenderClipVolume Optional clip volume applied to the tiles.  
context SceneContext The context in which the tiles will be drawn, exposing, e.g., the Viewport and accepting RenderGraphics to be drawn.  
frustumPlanes Accessor ReadOnly FrustumPlanes The planes of the viewing frustum, used for frustum culling.  
graphics GraphicBranch Holds the tile graphics to be drawn.  
location Transform Transform to the location in iModel coordinates at which the tiles are to be drawn.  
readyTiles Set<Tile> Tiles that we want to draw and that are ready to draw.  
tree TileTree The tile tree being drawn.  
viewClip undefined | ClipVector Optional clip volume applied to all tiles in the view.  
viewingSpace ViewingSpace Describes the viewed volume.  

Defined in

Last Updated: 08 June, 2020