UNPKG

videx-3d

Version:

React 3D component library designed for sub surface visualizations in the browser

23 lines (22 loc) 540 B
import { DepthReferencePoint } from '../sdk'; /** * DepthChangedEvent name */ export declare const depthChangedType: "depth-changed"; export interface DepthChangedEventDetails { depth: number; referencePoint: DepthReferencePoint; source: string; } /** * Depth changed * @event */ export declare class DepthChangedEvent extends CustomEvent<DepthChangedEventDetails> { constructor(detail: DepthChangedEventDetails); } declare global { interface WindowEventMap { [depthChangedType]: DepthChangedEvent; } }