download
raw
822 Bytes
import * as React from 'react';
import * as THREE from 'three';
import { DragConfig } from '@use-gesture/react';
import { ForwardRefComponent } from '../helpers/ts-utils';
export type DragControlsProps = {
autoTransform?: boolean;
matrix?: THREE.Matrix4;
axisLock?: 'x' | 'y' | 'z';
dragLimits?: [[number, number] | undefined, [number, number] | undefined, [number, number] | undefined];
onHover?: (hovering: boolean) => void;
onDragStart?: (origin: THREE.Vector3) => void;
onDrag?: (localMatrix: THREE.Matrix4, deltaLocalMatrix: THREE.Matrix4, worldMatrix: THREE.Matrix4, deltaWorldMatrix: THREE.Matrix4) => void;
onDragEnd?: () => void;
children: React.ReactNode;
dragConfig?: DragConfig;
};
export declare const DragControls: ForwardRefComponent<DragControlsProps, THREE.Group>;

Xet Storage Details

Size:
822 Bytes
·
Xet hash:
6e39cbd6cbc5db9c1e7bf25d1ff06dc126c537c9c3b185cbb5adbf969bfa7f04

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.