import { GpuShaderDefinition } from '../../gpu/porters'; import { transformPosition } from '../../utilities/transformations'; export interface ComponentProps { /** * The center point of the god rays * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0,"y":0} */ center: Parameters[0]; /** * Frequency of ray sectors * * @default 0.3 */ density: number; /** * Ray visibility within sectors * * @default 0.8 */ intensity: number; /** * Density of spots on rays (higher = more spots) * * @default 1 */ spotty: number; /** * Animation speed of the rays * * Accepts a number between 0 and 2. * @default 0.5 */ speed: number; /** * Color of the light rays * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#4283fb" */ rayColor: string; /** * Background color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "transparent" */ backgroundColor: string; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map