videx-3d
Version:
React 3D component library designed for sub surface visualizations in the browser
24 lines (23 loc) • 729 B
TypeScript
import { Blending, Color } from 'three';
export type HighlighterProps = {
color?: string | number | Color;
blending?: Blending;
renderOrder?: number;
};
/**
* Adds highlighting to rendered objects by rendering a "ghost" object on top it.
*
* @example
* <Highlighter />
*
* @remarks
* This component manages highlights in a global state and needs to be added to
* enable it as a feature. To interact with this component, you must use the
* `useHighlighter` hook from another component.
*
* @see {@link useHighlighter}
* @see {@link EventEmitter}
*
* @group Components
*/
export declare const Highlighter: ({ color, blending, renderOrder, }: HighlighterProps) => import("react/jsx-runtime").JSX.Element;