@mcmhomes/panorama-viewer
Version:
Provides React components to render panoramas.
21 lines (20 loc) • 807 B
TypeScript
export function dispose(...objects: any[]): void;
export function loadTextures(params: any): Promise<any>;
export function getTextureIds(...textures: any[]): any[];
export function createCubeTexture(textures: any): CompressedCubeTexture | CubeTexture;
export function createCubeMaterial(params: any): MeshBasicMaterial;
export function getTexturePathsOfBasePath(params: any): string[][] | null;
export function loadMultiresTexture(params: any): {
loaderId: any;
dispose: () => void;
isReady: (minLevel?: number) => boolean;
addListener: ({ onDone, onFail }: {
onDone: any;
onFail: any;
}) => {
remove: () => void;
};
} | undefined;
import { CompressedCubeTexture } from 'three';
import { CubeTexture } from 'three';
import { MeshBasicMaterial } from 'three';