@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
32 lines (31 loc) • 1.44 kB
TypeScript
/**
* reads a vertex animation texture
*
*
*
*
*/
import { TypedGlNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { ShadersCollectionController } from './code/utils/ShadersCollectionController';
import { ParamType } from '../../poly/ParamType';
import { GlType } from '../../poly/registers/nodes/types/Gl';
declare class VertexAnimationTextureGlParamsConfig extends NodeParamsConfig {
frame: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.FLOAT>;
framesCount: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.FLOAT>;
uv: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.VECTOR2>;
paddedRatio: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.VECTOR2>;
textureP: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.STRING>;
textureP2: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.STRING>;
textureN: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.STRING>;
}
export declare class VertexAnimationTextureGlNode extends TypedGlNode<VertexAnimationTextureGlParamsConfig> {
paramsConfig: VertexAnimationTextureGlParamsConfig;
static type(): GlType;
initializeNode(): void;
setLines(shadersCollectionController: ShadersCollectionController): void;
paramsGenerating(): boolean;
setParamConfigs(): void;
private _uniformName;
}
export {};