import { Camera } from '../../../../src/Three';

import { NodeFrame } from '../core/NodeFrame';
import { TempNode } from '../core/TempNode';
import { FunctionNode } from '../core/FunctionNode';
import { FloatNode } from '../inputs/FloatNode';

export class CameraNode extends TempNode {

	constructor( scope?: string, camera?: Camera );

	scope: string;
	near: FloatNode | undefined;
	far: FloatNode | undefined;
	camera: Camera | undefined;
	updateFrame: boolean | undefined;
	nodeType: string;

	setCamera( camera: Camera ): void;
	setScope( scope: string ): void;
	onUpdateFrame( frame: NodeFrame ): void;
	copy( source: CameraNode ): this;

	static Nodes: {
		depthColor: FunctionNode;
	};
	static POSITION: string;
	static DEPTH: string;
	static TO_VERTEX: string;

}
