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.

20 lines (19 loc) 666 B
import { BoxHelperComponent } from "./BoxHelperComponent.js"; import { Behaviour } from "./Component.js"; /** * A box-shaped area that can be used to delete objects that get into it. Useful for sandbox-style builders or physics simulations. * @category Interactivity * @group Components */ export declare class DeleteBox extends BoxHelperComponent { static _instances: DeleteBox[]; onEnable(): void; onDisable(): void; } /** Objects with this component can be destroyed by the {@link DeleteBox} component. * @category Interactivity * @group Components */ export declare class Deletable extends Behaviour { update(): void; }