polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
40 lines (39 loc) • 2.33 kB
TypeScript
/**
* Value of the property the animation will be animated to
*
*
*/
import { TypedAnimNode } from './_Base';
import { TimelineBuilder } from '../../../core/animation/TimelineBuilder';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class PropertyValueAnimParamsConfig extends NodeParamsConfig {
/** @param mode */
mode: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>;
/** @param if set to a Polygonjs node, this is the node path */
nodePath: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.NODE_PATH>;
/** @param if set to a THREE object, this is a mask to find the objects */
objectMask: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>;
overridePropertyName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
propertyName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>;
/** @param size of the parameter to animate */
size: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>;
/** @param value for a float */
value1: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>;
/** @param value for a vector2 */
value2: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR2>;
/** @param value for a vector3 */
value3: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR3>;
/** @param value for a vector4 */
value4: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR4>;
}
export declare class PropertyValueAnimNode extends TypedAnimNode<PropertyValueAnimParamsConfig> {
params_config: PropertyValueAnimParamsConfig;
static type(): string;
initializeNode(): void;
cook(input_contents: TimelineBuilder[]): Promise<void>;
private _prepare_timeline_builder;
private _prepare_timebuilder_custom;
private _prepare_timebuilder_from_scene_graph;
private _prepare_timebuilder_from_node;
}
export {};