UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

23 lines 925 B
import { Color } from 'three'; import { IRenderManager, ITexture } from '../core'; export interface AnimateTime { t: number; dt: number; rm?: IRenderManager; } export declare function lerpVal(time: AnimateTime & { from?: number | Color | any; }, val: number | Color | any, end: number | Color | any): number | Color | any; export declare function lerpNumber(time: AnimateTime & { from?: number; }, val: number, end: number): number; export declare function lerpVector(time: AnimateTime & { from?: any; }, val: any, end: any): any; export declare function lerpTexture(time: AnimateTime & { from?: ITexture | null; }, val: ITexture | null, end: ITexture | null): ITexture | null; export declare function lerpParams(params: Record<string, any>, obj: Record<string, any>, interpolateProps: Set<string>, time: AnimateTime & { from?: Record<string, any>; }): void; //# sourceMappingURL=lerp.d.ts.map