UNPKG

polygonjs-engine

Version:

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

27 lines (26 loc) 1.26 kB
/** * Sets if the animation should repeat * * */ import { TypedAnimNode } from './_Base'; import { TimelineBuilder } from '../../../core/animation/TimelineBuilder'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class RepeatAnimParamsConfig extends NodeParamsConfig { /** @param sets if it should repeat indefinitely */ unlimited: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; /** @param number of times the animation should repeat */ count: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>; /** @param delay */ delay: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; /** @param sets if the animation should go back and forth at each repeat */ yoyo: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; } export declare class RepeatAnimNode extends TypedAnimNode<RepeatAnimParamsConfig> { params_config: RepeatAnimParamsConfig; static type(): string; initializeNode(): void; private _repeat_params; cook(input_contents: TimelineBuilder[]): void; } export {};