UNPKG

@pmndrs/handle

Version:

framework agnostic expandable handle implementation for threejs

11 lines (10 loc) 448 B
import { Camera } from 'three'; import { HandlesContext } from '../context.js'; import { HandlesProperties } from '../index.js'; import { RegisteredHandle } from '../registered.js'; export declare class ScreenSpaceRotateHandle extends RegisteredHandle { private readonly direction; constructor(context: HandlesContext, tagPrefix?: string); update(camera: Camera): void; bind(config?: HandlesProperties): (() => void) | undefined; }