UNPKG

polygonjs-engine

Version:

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

26 lines (25 loc) 946 B
/** * Sets how the animation is applied * * @remarks * The animation can be set to: * * - set: the animation override the current value * - add: the animation adds to the current value * substract: the animation substracts from the current value * */ import { TypedAnimNode } from './_Base'; import { TimelineBuilder } from '../../../core/animation/TimelineBuilder'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class OperationAnimParamsConfig extends NodeParamsConfig { /** @param sets the operation (set, add or substract) */ operation: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>; } export declare class OperationAnimNode extends TypedAnimNode<OperationAnimParamsConfig> { params_config: OperationAnimParamsConfig; static type(): string; initializeNode(): void; cook(input_contents: TimelineBuilder[]): void; } export {};