@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
26 lines (25 loc) • 905 B
TypeScript
/**
* Creates or update uv attribute.
*
*
*/
import { Object3D } from 'three';
import { TypedSopNode } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class UvProjectSopParamsConfig extends NodeParamsConfig {
/** @param camera node to use as projection */
camera: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.NODE_PATH>;
}
export declare class UvProjectSopNode extends TypedSopNode<UvProjectSopParamsConfig> {
paramsConfig: UvProjectSopParamsConfig;
static type(): string;
private _cameraController;
private _processed_core_group;
private _camera_object;
initializeNode(): void;
cook(core_groups: CoreGroup[]): void;
_updateUVsFromCamera(look_at_target: Object3D): void;
private _vectorInCameraSpace;
}
export {};