@react-three/drei
Version:
useful add-ons for react-three-fiber
11 lines (10 loc) • 421 B
TypeScript
import { Line2 } from 'three-stdlib';
import { LineProps } from './Line';
import { ForwardRefComponent } from '../helpers/ts-utils';
export type CatmullRomLineProps = Omit<LineProps, 'ref' | 'segments'> & {
closed?: boolean;
curveType?: 'centripetal' | 'chordal' | 'catmullrom';
tension?: number;
segments?: number;
};
export declare const CatmullRomLine: ForwardRefComponent<CatmullRomLineProps, Line2>;