12345678910111213141516171819202122232425262728293031 |
- import { Camera } from '../../../../src/Three';
- import { NodeBuilder } from '../core/NodeBuilder';
- 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;
- generate(builder: NodeBuilder, output: string): string;
- onUpdateFrame(frame: NodeFrame): void;
- copy(source: CameraNode): this;
- static Nodes: {
- depthColor: FunctionNode;
- };
- static POSITION: string;
- static DEPTH: string;
- static TO_VERTEX: string;
- }
|