vim-webgl-component
Version:
A demonstration app built on top of the vim-webgl-viewer
17 lines (16 loc) • 484 B
TypeScript
/// <reference types="react" />
import * as VIM from 'vim-webgl-viewer/';
export type SectionState = {
clip: boolean;
active: boolean;
};
export declare function getSectionBoxState(viewer: VIM.Viewer): {
clip: boolean;
active: boolean;
set: import("react").Dispatch<import("react").SetStateAction<SectionState>>;
toggle: () => void;
hide: () => void;
reset: () => void;
shrinkToSelection: () => void;
toggleClip: () => void;
};