RealityTile Class

Beta  

A Tile within a RealityTileTree, representing part of a reality model (e.g., a point cloud or photogrammetry mesh) or 3d terrain with map imagery.

Extends

Extended by

Inherited methods

Name Inherited from Description
computeVisibility(args: TileDrawArgs): TileVisibility Tile Determine the visibility of this tile according to the specified args.
countDescendants(): number Tile Primarily for debugging purposes, compute the number of tiles below this one in the TileTree.
dispose(): void Tile Dispose of resources held by this tile and all of its children, marking it and all of its children as "abandoned".
disposeChildren(): void Protected Tile Dispose of this tile's child tiles and mark them as "not loaded".
drawGraphics(args: TileDrawArgs): void Tile Output this tile's graphics.
isContentCulled(args: TileDrawArgs): boolean Protected Tile Returns true if this tile's content bounding volume is culled by the frustum or clip volumes specified by args.
isFrustumCulled(box: Frustum, args: TileDrawArgs, testClipIntersection: boolean, sphere?: BoundingSphere): boolean Protected Tile  
isRegionCulled(args: TileDrawArgs): boolean Protected Tile Returns true if this tile's bounding volume is culled by the frustum or clip volumes specified by args.
loadChildren(): TileTreeLoadStatus Protected Tile If this tile's child tiles have not yet been requested, enqueue an asynchronous request to load them.
meetsScreenSpaceError(args: TileDrawArgs): boolean Protected Tile Returns true if this tile is of at least high enough resolution to be displayed, per the supplied TileDrawArgs; or false if
setGraphic(graphic: undefined | RenderGraphic): void Protected Tile  
setIsReady(): void Tile  
setLeaf(): void Tile  
setNotFound(): void Tile  

Inherited properties

Name Type Inherited from Description
_childrenLoadStatus Protected TileTreeLoadStatus Tile The current loading state of this tile's children.
_contentId Protected string Tile Uniquely identifies this tile's content in the context of its tree.
_contentRange Protected undefined | Range3d Tile A volume no larger than this tile's range, and optionally more tightly encompassing its contents, used for more accurate culling.
_graphic Protected undefined | RenderGraphic Tile This tile's renderable content.
_hadGraphics Protected boolean Tile True if this tile ever had graphics loaded.
_maximumSize Protected number Tile The maximum size in pixels this tile can be drawn.
boundingSphere Readonly BoundingSphere Tile The bounding sphere for this tile.
bytesUsed number Tile Exclusively for use by LRUTileList.
center Accessor ReadOnly Point3d Tile The point at the center of this tile's volume.
children Accessor ReadOnly undefined | Tile[] Tile This tile's child tiles, if they exist and are loaded. The children are fully contained within this tile's volume and provide higher-resolution graphics than this tile.
contentId Accessor ReadOnly string Tile Uniquely identifies this tile's content.
contentRange Accessor ReadOnly Range3d Tile A volume no larger than this tile's range, and optionally more tightly encompassing its contents, used for more accurate culling.
depth Readonly number Tile The depth of this tile within its TileTree.
hasContentRange Accessor ReadOnly boolean Tile True if this tile has a known volume tightly encompassing its graphics.
hasGraphics Accessor ReadOnly boolean Tile True if this tile has graphics ready to draw.
iModel Accessor ReadOnly IModelConnection Tile The IModelConnection to which this tile belongs.
isLeaf Accessor ReadOnly boolean Tile True if this tile has no child tiles.
isLoading Accessor ReadOnly boolean Tile True if this tile's content is currently being loaded.
isNotFound Accessor ReadOnly boolean Tile True if an attempt to load this tile's content failed.
isQueued Accessor ReadOnly boolean Tile True if a request for this tile's content has been enqueued.
isReady Accessor ReadOnly boolean Tile True if this tile's content has been loaded and is ready to be drawn.
loadStatus Accessor ReadOnly TileLoadStatus Tile Tile contents are loaded asynchronously on demand. This member tracks the current loading status of this tile's contents.
maximumSize Accessor ReadOnly number Tile The maximum size in pixels this tile can be drawn. If the size of the tile on screen exceeds this maximum, a higher-resolution tile should be drawn in its place.
next undefined | Tile Exclusively for use by LRUTileList.
parent Readonly undefined | Tile Tile The parent of this tile, or undefined if it is the TileTree's root tile.
previous undefined | Tile Exclusively for use by LRUTileList.
radius Accessor ReadOnly number Tile The radius of a sphere fully encompassing this tile's volume - used for culling.
range Readonly Range3d Tile The volume of space occupied by this tile.
tileUserIds undefined | Tile Exclusively for use by LRUTileList.
tree Readonly TileTree Tile The TileTree to which this tile belongs.
usageMarker Readonly TileUsageMarker Tile Tracks the usage of this tile.

Defined in

Last Updated: 30 November, 2023