threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
26 lines • 1.19 kB
TypeScript
import { Rhino3dmLoader } from 'three/examples/jsm/loaders/3DMLoader.js';
import { LoadingManager, Material, Object3D } from 'three';
export declare class Rhino3dmLoader2 extends Rhino3dmLoader {
/**
* Path to the rhino3dm.js library, default uses jsdelivr CDN
* You may want to set this to your own path or use {@link Rhino3dmLoader2.setLibraryPath}
* @default `https://cdn.jsdelivr.net/npm/rhino3dm@${getUrlQueryParam('rhino3dm', '8.0.1')}/`
*/
static LIBRARY_PATH: string;
constructor(manager?: LoadingManager);
static ImportMaterials: boolean;
static ForceLayerMaterials: boolean;
static ReplaceWithInstancedMesh: boolean;
static HideLineMesh: boolean;
static HidePointMesh: boolean;
static LoadUserDataStrings: boolean;
static LoadUserDataWarnings: boolean;
materials: Material[];
_createMaterial(material: any): Material;
private _compareMaterials;
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Object3D>;
private _useMaterialSource;
private _useInstancedMesh;
private _hideLineMesh;
}
//# sourceMappingURL=../../src/assetmanager/import/Rhino3dmLoader2.d.ts.map