@pmndrs/uikit
Version:
Build performant 3D user interfaces with Three.js and yoga.
5 lines (4 loc) • 372 B
TypeScript
import { Matrix4, Mesh, Object3D, Sphere } from 'three';
import { Signal } from '@preact/signals-core';
import { RootContext } from '../../context.js';
export declare function makePanelSpherecast(root: Signal<RootContext>, globalSphereWithLocalScale: Sphere, globalPanelMatrixSignal: Signal<Matrix4 | undefined>, object: Object3D): Exclude<Mesh['spherecast'], undefined>;