UNPKG

@takram/three-atmosphere

Version:
20 lines (19 loc) 685 B
import { ElementProps } from '@react-three/fiber'; import { FC } from 'react'; import { Points } from 'three'; import { AtmosphereMaterialProps } from '../AtmosphereMaterialBase'; import { StarsGeometry } from '../StarsGeometry'; import { StarsMaterial } from '../StarsMaterial'; declare module 'three' { interface Camera { isPerspectiveCamera?: boolean; } } export type StarsImpl = Points<StarsGeometry, StarsMaterial>; export interface StarsProps extends ElementProps<typeof Points>, AtmosphereMaterialProps { data?: ArrayBuffer | string; pointSize?: number; radianceScale?: number; background?: boolean; } export declare const Stars: FC<StarsProps>;