File size: 668 Bytes
b24de8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { Object3D } from "./Object3D";
import { EventDispatcher } from "../events/EventDispatcher";
declare class Scene extends EventDispatcher {
    private _objects;
    addObject: (object: Object3D) => void;
    removeObject: (object: Object3D) => void;
    findObject: (predicate: (object: Object3D) => boolean) => Object3D | undefined;
    findObjectOfType: <T extends Object3D>(type: {
        new (): T;
    }) => T | undefined;
    reset: () => void;
    constructor();
    getMergedSceneDataBuffer(format?: "splat" | "ply"): ArrayBuffer;
    saveToFile(name?: string | null, format?: "splat" | "ply"): void;
    get objects(): Object3D[];
}
export { Scene };