@threlte/xr
Version:
Tools to more easily create VR and AR experiences with Threlte
12 lines (11 loc) • 425 B
TypeScript
import { type ThrelteUseTaskOptions } from '@threlte/core';
type UseFixedOptions = ThrelteUseTaskOptions & {
fixedStep?: number;
};
/**
* A fixed useTask, based on https://github.com/threlte/threlte/pull/654
*
* @Todo Can be removed if this or a similar feature is merged.
*/
export declare const useFixed: (fn: (delta: number) => void, options: UseFixedOptions) => import("@threlte/core").ThrelteUseTask;
export {};