mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
33 lines
633 B
TypeScript
33 lines
633 B
TypeScript
import { Vector3 } from "./three-core";
|
|
|
|
export class Octree {
|
|
constructor(parameters?: any);
|
|
|
|
update(): void;
|
|
|
|
add(object: any, options?: any): any;
|
|
|
|
addDeferred(object: any, options?: any): any;
|
|
|
|
addObjectData(object: any, part: any): any;
|
|
|
|
remove(object: any): any;
|
|
|
|
extend(octree: Octree): any;
|
|
|
|
rebuild(): any;
|
|
|
|
updateObject(object: any): any;
|
|
|
|
search(position: Vector3, radius: number, organizeByObject: boolean, direction: Vector3): any;
|
|
|
|
setRoot(root: any): any;
|
|
|
|
getDepthEnd(): number;
|
|
|
|
getNodeCountEnd(): number;
|
|
|
|
getObjectCountEnd(): number;
|
|
|
|
toConsole(): any;
|
|
} |