UNPKG

@metacell/geppetto-meta-ui

Version:

React components from geppetto-meta to create neuroscience applications and visualize data.

65 lines (64 loc) 2.14 kB
export default Canvas; declare class Canvas extends React.Component<any, any, any> { constructor(props: any); state: { loadedTextures: boolean; time: number; isReady: boolean; }; canvasRef: React.RefObject<any>; sceneRef: React.RefObject<any>; handleLoadedTextures(): void; handleHover(evt: any): void; handleHoverLeave(evt: any): void; handleClick(evt: any): void; handleKeyboardPress(evt: any): void; threeMeshes: {}; selectedMeshes: {}; hoveredMeshes: {}; initTextures(callback: any): void; particleTexture: any; componentDidMount(): void; meshFactory: any; shouldComponentUpdate(nextProps: any): boolean; componentDidUpdate(): void; setEntityMeshes(): void; render(): import("react/jsx-runtime").JSX.Element; } declare namespace Canvas { namespace defaultProps { const threshold: number; const colorMap: {}; const position: string; const rotation: string; const sceneBackground: string; function handleHover(): boolean; function handleClick(): boolean; function handleHoverLeave(): void; function handleModelChange(): void; } namespace propTypes { export const instances: any; export const model: any; export const id: any; const threshold_1: any; export { threshold_1 as threshold }; const colorMap_1: any; export { colorMap_1 as colorMap }; const position_1: any; export { position_1 as position }; const rotation_1: any; export { rotation_1 as rotation }; const sceneBackground_1: any; export { sceneBackground_1 as sceneBackground }; const handleHover_1: any; export { handleHover_1 as handleHover }; const handleClick_1: any; export { handleClick_1 as handleClick }; const handleHoverLeave_1: any; export { handleHoverLeave_1 as handleHoverLeave }; const handleModelChange_1: any; export { handleModelChange_1 as handleModelChange }; } } import React from "react";