gsplat_library / dist /core /Scene.d.ts
bilca's picture
Upload 43 files
b24de8b verified
raw
history blame
668 Bytes
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 };