UNPKG

@realsee/five

Version:

Realsee Renderer SDK

21 lines (20 loc) • 668 B
import { Tile3D } from './tile3d'; import { WorkModel } from "../work"; import { TextureOptions } from "../types/imageOptions"; import { Fetcher } from "../utils/ajax"; export interface ViewLayer extends Tile3D { } export interface ViewLayerInit { tilesetUrl: string; name: string; type: "point_cloud" | "mesh" | "gaussian_splatting"; upAxis: string; light: boolean; fetcher: Fetcher; } export declare function loadViewLayer(init: ViewLayerInit): Promise<ViewLayer>; export declare function loadViewLayers(workModel: WorkModel, options: { fetcher: Fetcher; light: boolean; textureOptions?: TextureOptions; }): Promise<ViewLayer[]>;