Files
avz-site/node_modules/@react-three/drei/core/GradientTexture.d.ts
T
2026-05-30 19:59:39 -03:00

19 lines
686 B
TypeScript

import * as React from 'react';
import { ThreeElements } from '@react-three/fiber';
import * as THREE from 'three';
export declare enum GradientType {
Linear = "linear",
Radial = "radial"
}
export type GradientTextureProps = {
stops: Array<number>;
colors: Array<THREE.ColorRepresentation>;
attach?: string;
size?: number;
width?: number;
type?: GradientType;
innerCircleRadius?: number;
outerCircleRadius?: string | number;
} & Omit<ThreeElements['texture'], 'args' | 'type'>;
export declare function GradientTexture({ stops, colors, size, width, type, innerCircleRadius, outerCircleRadius, ...props }: GradientTextureProps): React.JSX.Element;