3d-tiles-renderer
Version:
https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification
36 lines (28 loc) • 722 B
TypeScript
import { Tile } from './Tile.js';
/**
* Internal state used/set by the package.
*/
export interface TileInternal extends Tile {
// tile description
__isLeaf: boolean;
__hasContent: boolean;
__hasRenderableContent: boolean;
__hasUnrenderableContent: boolean;
// resource tracking
__usedLastFrame: boolean;
__used: boolean;
// Visibility tracking
__allChildrenReady: boolean;
__inFrustum: boolean;
__wasSetVisible: boolean;
// download state tracking
/**
* This tile is currently active if:
* 1: Tile content is loaded and ready to be made visible if needed
*/
__active: boolean;
__loadIndex: number;
__loadAbort: AbortController | null;
__loadingState: number;
__wasSetActive: boolean;
}