@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.
12 lines (11 loc) • 432 B
TypeScript
import { Object3D } from "three";
import { type ICanvasGroup, type IGraphic } from "./Interfaces.js";
export declare class UIRaycastUtils {
/** returns the real object when dealing with shadow UI */
static getObject(obj: Object3D): Object3D;
static isInteractable(obj: Object3D, out?: {
canvasGroup?: ICanvasGroup;
graphic?: IGraphic;
}): boolean;
private static tryFindCanvasGroup;
}