@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.
15 lines (12 loc) • 401 B
text/typescript
import { Behaviour } from "./Component.js";
/**
* Marks an object as currently being interacted with.
* For example, DragControls set this on the dragged object to prevent DeleteBox from deleting it.
*/
export class UsageMarker extends Behaviour
{
public isUsed: boolean = true;
public usedBy: any = null;
}
/** @deprecated */
export class Interactable extends Behaviour {}