UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

9 lines 358 B
import { Texture } from "three"; import { type ColorGradient } from "image-tls"; export type GradientTextureOptions = Texture | TexImageSource | string | ColorGradient; /** * 创建颜色梯度材质 * @param gradient */ export declare function createLinearGradientTexture(gradient: GradientTextureOptions): Texture; //# sourceMappingURL=gradient.d.ts.map