UNPKG

@takram/three-atmosphere

Version:
19 lines (18 loc) 752 B
import { ElementProps } from '@react-three/fiber'; 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: import('react').ForwardRefExoticComponent<Omit<StarsProps, "ref"> & import('react').RefAttributes<StarsImpl>>;