UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

31 lines (30 loc) 1.11 kB
/** * generates an easing function * * * @remarks * * Easing are powerful functions and can be used in many use cases, such as: * - when animating objects, vertices, or any value * - when interpolating between values, such as colors * - when modifying the shape of an object * */ import { TypedGlNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { ShadersCollectionController } from './code/utils/ShadersCollectionController'; declare class EasingGlParamsConfig extends NodeParamsConfig { type: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; } export declare class EasingGlNode extends TypedGlNode<EasingGlParamsConfig> { paramsConfig: EasingGlParamsConfig; static type(): string; initializeNode(): void; private _expected_input_types; private _expected_output_types; _gl_input_name(index: number): string; _gl_output_name(index: number): string; setLines(shaders_collection_controller: ShadersCollectionController): void; private _buildBodyLines; } export {};