@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
30 lines (29 loc) • 1.51 kB
TypeScript
/**
* Make object look at a position
*
*
*/
import { TypedJsNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { JsType } from '../../poly/registers/nodes/types/Js';
import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController';
declare class SetObjectLookAtJsParamsConfig extends NodeParamsConfig {
/** @param targetPosition */
targetPosition: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param up */
up: 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 invertDirection */
invertDirection: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
/** @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 SetObjectLookAtJsNode extends TypedJsNode<SetObjectLookAtJsParamsConfig> {
readonly paramsConfig: SetObjectLookAtJsParamsConfig;
static type(): JsType;
initializeNode(): void;
setLines(linesController: JsLinesCollectionController): void;
setTriggerableLines(linesController: JsLinesCollectionController): void;
}
export {};