UNPKG

@polygonjs/polygonjs

Version:

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

27 lines (26 loc) 1.41 kB
/** * Update the object position * * */ import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; import { JsType } from '../../poly/registers/nodes/types/Js'; import { BaseTriggerAndObjectJsNode } from './_BaseTriggerAndObject'; import { JsConnectionPoint, JsConnectionPointType } from '../utils/io/connections/Js'; declare class SetObjectPositionJsParamsConfig extends NodeParamsConfig { /** @param target position */ position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; /** @param lerp factor */ lerp: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param sets if the matrix should be updated as the animation progresses */ updateMatrix: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; } export declare class SetObjectPositionJsNode extends BaseTriggerAndObjectJsNode<SetObjectPositionJsParamsConfig> { readonly paramsConfig: SetObjectPositionJsParamsConfig; static type(): JsType; protected _additionalOutputs(): JsConnectionPoint<JsConnectionPointType>[]; setLines(linesController: JsLinesCollectionController): void; setTriggerableLines(linesController: JsLinesCollectionController): void; } export {};