import { Object3D } from 'three'; import { IntersectionExt } from '../events/Events.js'; /** * Represents the prototype for extending Scene functionality. */ export interface SceneExtPrototype { /** * A flag indicating whether continuous raycasting is enabled (default: false). * When set to true, main raycasting occurs every frame, while false triggers raycasting only upon mouse movement. * Additionally, if set to true, the 'pointerintersection' event will be fired every frame. */ continuousRaycasting: boolean; /** * A flag indicating whether continuous raycasting is enabled when searching for drop targets (default: false). * When set to true, main raycasting for drop targets occurs every frame, while false triggers it only upon mouse movement. * Additionally, if set to true, the 'dragover' event will be fired every frame. */ continuousRaycastingDropTarget: boolean; /** An array of intersections computed from the pointer (primary pointer only). */ intersections: IntersectionExt[]; /** An array of intersections computed from the pointer if an object is dragged and has 'findDropTarget' set to true (primary pointer only). */ intersectionsDropTarget: IntersectionExt[]; /** A reference to the currently focused Object3D within the scene. */ focusedObject: Object3D; /** * A flag indicating whether to blur the focused Object3D when clicking outside of any object. */ blurOnClickOut: boolean; /** The time scale for scene animations. */ timeScale: number; /** The total time elapsed in the scene. */ totalTime: number; /** * Activates smart rendering for the scene. * @returns The updated instance of the scene. */ activeSmartRendering(): this; /** * Sets the focus to the specified Object3D within the scene, or clears the focus if no target is provided. * @param target Optional. The Object3D to focus on. If not provided, the focus is cleared. */ focus(target?: Object3D): void; } //# sourceMappingURL=Scene.d.ts.map