UNPKG

@needle-tools/engine

Version:

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in

22 lines (21 loc) 673 B
import { Box3, type ColorRepresentation, Object3D } from "three"; import { Behaviour } from "./Component.js"; /** * @category Helpers * @group Components */ export declare class BoxHelperComponent extends Behaviour { private box; private static testBox; private _lastMatrixUpdateFrame; private static _position; private static _size; private static _emptyObjectSize; isInBox(obj: Object3D): boolean | undefined; intersects(box: Box3): boolean; updateBox(force?: boolean): Box3; private _helper; private _color; awake(): void; showHelper(col?: ColorRepresentation | null, force?: boolean): void; }