UNPKG

@threlte/xr

Version:

Tools to more easily create VR and AR experiences with Threlte

24 lines (23 loc) 683 B
import type { XRHandEvents } from '../types'; import type { Snippet } from 'svelte'; declare const Hand: import("svelte").Component<{ children?: Snippet; targetRay?: Snippet; wrist?: Snippet; } & (XRHandEvents & ({ /** Whether the XRHand should be matched with the left hand. */ left: true; right?: undefined; hand?: undefined; } | { /** Whether the XRHand should be matched with the right hand. */ right: true; left?: undefined; hand?: undefined; } | { /** Whether the XRHand should be matched with the left or right hand. */ hand: "left" | "right"; left?: undefined; right?: undefined; })), {}, "">; export default Hand;