import { Group } from 'three'; import { type Props } from '@threlte/core'; import type { Snippet } from 'svelte'; interface XROriginProps extends Props { ref?: Group; children?: Snippet<[{ ref: Group; }]>; } /** * `` represents the position of the XR user's feet. The XR * camera (headset) is parented to this group, and any `` / `` * components nested inside attach here instead of the scene root. Transforming * the origin (position, rotation, scale) transforms the user in the scene — * useful for teleportation, dolly rigs, and resizing the user. * * Only one `` may be mounted within a given ``. * * ```svelte * * * * * * * ``` * * Without an ``, controllers and hands continue to attach to the * scene root (existing behaviour, unchanged). */ declare const XrOrigin: import("svelte").Component; type XrOrigin = ReturnType; export default XrOrigin;