UNPKG

@realsee/dnalogel

Version:
17 lines (16 loc) 830 B
import * as THREE from 'three'; import { BoundingBoxHelperAbstract } from '../Base/BaseHelper'; export declare class BoundingBoxHelper<T extends THREE.Object3D = THREE.Object3D> extends BoundingBoxHelperAbstract<T> { name: string; box: THREE.Mesh<THREE.BufferGeometry, THREE.MeshBasicMaterial>; outline: THREE.LineSegments<THREE.BufferGeometry, THREE.LineBasicMaterial>; private positionAttribute; constructor(originObject: T); initQuaternion(): void; setHelperQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void; raycasterIntersectObject(raycaster: THREE.Raycaster, intersection: THREE.Intersection[]): THREE.Intersection[]; raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void; private update; private createOutline; private createBox; }